Skip to content

Commit b8195a2

Browse files
committedApr 15, 2018
Whoops METHOD_FRAME_* needs to work with String and not RubySymbol.
1 parent a61f07e commit b8195a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎core/src/main/java/org/jruby/ir/instructions/CallBase.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ private void captureFrameReadsAndWrites() {
447447
frameWrites = ALL;
448448
}
449449
} else {
450-
frameReads = MethodIndex.METHOD_FRAME_READS.getOrDefault(getName(), Collections.EMPTY_SET);
451-
frameWrites = MethodIndex.METHOD_FRAME_WRITES.getOrDefault(getName(), Collections.EMPTY_SET);
450+
frameReads = MethodIndex.METHOD_FRAME_READS.getOrDefault(getId(), Collections.EMPTY_SET);
451+
frameWrites = MethodIndex.METHOD_FRAME_WRITES.getOrDefault(getId(), Collections.EMPTY_SET);
452452
}
453453
}
454454

0 commit comments

Comments
 (0)
Please sign in to comment.