Skip to content

Commit

Permalink
[Truffle] Fixed a bad refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Mar 5, 2015
1 parent 5942d92 commit 382999d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@ public RubyHash executeRubyHash(VirtualFrame frame) {
isFrozenNode = insert(IsFrozenNodeFactory.create(getContext(), getSourceSection(), null));
}

if (isFrozenNode.executeIsFrozen(key)) {
if (! isFrozenNode.executeIsFrozen(key)) {
key = freezeNode.call(frame, dupNode.call(frame, key, "dup", null), "freeze", null);
}
}
Expand Down

0 comments on commit 382999d

Please sign in to comment.