Skip to content

Commit

Permalink
Fix indy string regression
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Apr 17, 2015
1 parent 1009f65 commit 3735705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/targets/Bootstrap.java
Expand Up @@ -52,7 +52,7 @@ public static CallSite string(Lookup lookup, String name, MethodType type, Strin
MutableCallSite site = new MutableCallSite(type);
Binder binder = Binder
.from(RubyString.class, ThreadContext.class)
.insert(0, arrayOf(MutableCallSite.class, ByteList.class), site, byteList, cr);
.insert(0, arrayOf(MutableCallSite.class, ByteList.class, int.class), site, byteList, cr);
if (name.equals("frozen")) {
site.setTarget(binder.invokeStaticQuiet(lookup, Bootstrap.class, "frozenString"));
} else {
Expand Down

0 comments on commit 3735705

Please sign in to comment.