Skip to content

Commit

Permalink
Whoops METHOD_FRAME_* needs to work with String and not RubySymbol.
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Apr 15, 2018
1 parent a61f07e commit b8195a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/ir/instructions/CallBase.java
Expand Up @@ -447,8 +447,8 @@ private void captureFrameReadsAndWrites() {
frameWrites = ALL;
}
} else {
frameReads = MethodIndex.METHOD_FRAME_READS.getOrDefault(getName(), Collections.EMPTY_SET);
frameWrites = MethodIndex.METHOD_FRAME_WRITES.getOrDefault(getName(), Collections.EMPTY_SET);
frameReads = MethodIndex.METHOD_FRAME_READS.getOrDefault(getId(), Collections.EMPTY_SET);
frameWrites = MethodIndex.METHOD_FRAME_WRITES.getOrDefault(getId(), Collections.EMPTY_SET);
}
}

Expand Down

0 comments on commit b8195a2

Please sign in to comment.