16
16
import org .truffleruby .core .array .RubyArray ;
17
17
import org .truffleruby .core .array .library .ArrayStoreLibrary ;
18
18
import org .truffleruby .core .kernel .TruffleKernelNodes .GetSpecialVariableStorage ;
19
- import org .truffleruby .core .MarkingServiceNodes ;
20
19
import org .truffleruby .language .arguments .CallerDataReadingNode ;
21
20
import org .truffleruby .language .FrameAndVariablesSendingNode ;
22
21
@@ -52,8 +51,7 @@ public abstract static class FindRubyCallerSpecialStorage extends CoreMethodArra
52
51
@ Specialization (limit = "storageStrategyLimit()" )
53
52
protected Object findRubyCaller (RubyArray modules ,
54
53
@ CachedLibrary ("modules.store" ) ArrayStoreLibrary stores ,
55
- @ Cached GetSpecialVariableStorage storageNode ,
56
- @ Cached MarkingServiceNodes .GetMarkerThreadLocalDataNode getDataNode ) {
54
+ @ Cached GetSpecialVariableStorage storageNode ) {
57
55
final int modulesSize = modules .size ;
58
56
Object [] moduleArray = stores .boxedCopyOfRange (modules .store , 0 , modulesSize );
59
57
FrameAndCallNode data = getContext ()
@@ -66,7 +64,7 @@ protected Object findRubyCaller(RubyArray modules,
66
64
} else {
67
65
CallerDataReadingNode .notifyCallerToSendData (getContext (), data .callNode , this );
68
66
Object variables = storageNode .execute (data .frame .materialize ());
69
- getDataNode . execute ().getExtensionCallStack () .setVariables (variables );
67
+ getLanguage (). getCurrentThread ().getCurrentFiber (). extensionCallStack .setVariables (variables );
70
68
return variables ;
71
69
}
72
70
}
0 commit comments