Skip to content

Commit d9c0511

Browse files
eregonaardvark179
authored andcommitted
needsStorageAssumption should be copied too
1 parent 640e45a commit d9c0511

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/truffleruby/language/RubyRootNode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public synchronized void invalidateNeedsStorageAssumption() {
123123
public Node copy() {
124124
RubyRootNode root = (RubyRootNode) super.copy();
125125
root.needsCallerAssumption = new CyclicAssumption("needs caller frame");
126+
root.needsStorageAssumption = new CyclicAssumption("needs caller special variables");
126127
return root;
127128
}
128129

0 commit comments

Comments
 (0)