Переглянути джерело

Rename 'read_userroot' intrinsic to 'read_taskroot'

jonathanvdc 8 роки тому
батько
коміт
d6d41d9b2a
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      kernel/modelverse_jit/intrinsics.py

+ 3 - 3
kernel/modelverse_jit/intrinsics.py

@@ -114,7 +114,7 @@ def __list_read(a, b):
                         tree_ir.LiteralInstruction('List read out of bounds: %s'),
                         '%',
                         b_val.create_load())])),
-            tree_ir.NopInstruction()),
+            tree_ir.EmptyInstruction()),
         result.create_load())
 
 def __list_append(a, b):
@@ -245,8 +245,8 @@ MISC_INTRINSICS = {
             tree_ir.LoadLocalInstruction(jit_runtime.KWARGS_PARAMETER_NAME),
             tree_ir.LiteralInstruction('root')),
 
-    # read_userroot
-    'read_userroot' :
+    # read_taskroot
+    'read_taskroot' :
         lambda:
         tree_ir.LoadIndexInstruction(
             tree_ir.LoadLocalInstruction(jit_runtime.KWARGS_PARAMETER_NAME),