Skip to content
Snippets Groups Projects
Commit 2210dec1 authored by Mick Jordan's avatar Mick Jordan
Browse files

Fix RCaller.invalid

parent ec400980
Branches
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ public abstract class UpdateSlot extends RBuiltinNode {
if (cached.profile(currentFunction == checkSlotAssignFunction)) {
// TODO: technically, someone could override checkAtAssignment function and access the
// caller, but it's rather unlikely
Object[] args = argsNode.execute(checkSlotAssignFunction, RCaller.createInvalid(frame), null, new Object[]{objClass, name, valClass}, SIGNATURE, null);
Object[] args = argsNode.execute(checkSlotAssignFunction, RCaller.create(frame, getOriginalCall()), null, new Object[]{objClass, name, valClass}, SIGNATURE, null);
checkAtAssignmentCall.call(frame, args);
} else {
// slow path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment