Skip to content


Browse files Browse the repository at this point in the history
[Truffle] This specialization should be ready for compilation.
  • Loading branch information
nirvdrum committed Mar 3, 2015
1 parent 9725d6f commit 15b58ec
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -312,8 +312,6 @@ public Object getIndex(RubyString string, int index, @SuppressWarnings("unused")

@Specialization(guards = { "!isRubyRange(arguments[1])", "!isRubyRegexp(arguments[1])", "!isRubyString(arguments[1])" })
public Object getIndex(VirtualFrame frame, RubyString string, Object index, UndefinedPlaceholder undefined) {

if (toIntNode == null) {
toIntNode = insert(ToIntNodeFactory.create(getContext(), getSourceSection(), null));
Expand Down

0 comments on commit 15b58ec

Please sign in to comment.