Skip to content

Commit 8701c46

Browse files
committed
Skip methods on the Truffle::CExt class when finding ruby callers.
1 parent b53dc39 commit 8701c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/truffle/truffle/cext.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ def rb_class_inherited_p(ruby_module, object)
17551755
def rb_get_special_vars
17561756
vars = Primitive.cext_special_variables_from_stack
17571757
unless vars
1758-
vars = Truffle::ThreadOperations.ruby_caller_special_variables([Truffle::CExt, Truffle::Interop.singleton_class])
1758+
vars = Truffle::ThreadOperations.ruby_caller_special_variables([Truffle::CExt, Truffle::CExt.singleton_class, Truffle::Interop.singleton_class])
17591759
end
17601760
vars
17611761
end

0 commit comments

Comments
 (0)