ソースを参照

Make declare-local values dependent on the root node

jonathanvdc 8 年 前
コミット
313cbac9e8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      kernel/modelverse_jit/cfg_ir.py

+ 1 - 1
kernel/modelverse_jit/cfg_ir.py

@@ -432,7 +432,7 @@ class DeclareLocal(Value):
 
     def get_dependencies(self):
         """Gets all definitions and instructions on which this instruction depends."""
-        return []
+        return [self.root_node]
 
     def has_value(self):
         """Tells if this value produces a result that is not None."""