Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
307 additions
and 310 deletions.
- +3 −4 core/src/main/java/org/jruby/truffle/nodes/RubyNode.java
- +2 −3 core/src/main/java/org/jruby/truffle/nodes/RubyTypes.java
- +3 −3 core/src/main/java/org/jruby/truffle/nodes/core/HashGuards.java
- +60 −60 core/src/main/java/org/jruby/truffle/nodes/core/HashNodes.java
- +3 −3 core/src/main/java/org/jruby/truffle/nodes/core/KernelNodes.java
- +3 −3 core/src/main/java/org/jruby/truffle/nodes/core/SystemNode.java
- +15 −15 core/src/main/java/org/jruby/truffle/nodes/hash/{FindBucketNode.java → FindEntryNode.java}
- +3 −3 core/src/main/java/org/jruby/truffle/nodes/literal/HashLiteralNode.java
- +4 −4 core/src/main/java/org/jruby/truffle/nodes/methods/arguments/CheckArityNode.java
- +4 −4 core/src/main/java/org/jruby/truffle/nodes/methods/arguments/ReadKeywordArgumentNode.java
- +5 −5 core/src/main/java/org/jruby/truffle/nodes/methods/arguments/ReadKeywordRestArgumentNode.java
- +3 −3 core/src/main/java/org/jruby/truffle/runtime/core/CoreLibrary.java
- +14 −14 core/src/main/java/org/jruby/truffle/runtime/core/RubyHash.java
- +0 −72 core/src/main/java/org/jruby/truffle/runtime/hash/Bucket.java
- +0 −50 core/src/main/java/org/jruby/truffle/runtime/hash/BucketSearchResult.java
- +43 −5 core/src/main/java/org/jruby/truffle/runtime/hash/Entry.java
- +59 −59 core/src/main/java/org/jruby/truffle/runtime/hash/HashOperations.java
- +50 −0 core/src/main/java/org/jruby/truffle/runtime/hash/HashSearchResult.java
- +33 −0 core/src/main/java/org/jruby/truffle/runtime/hash/KeyValue.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -10,7 +10,7 @@ | ||
package org.jruby.truffle.nodes.core; | ||
|
||
import org.jruby.truffle.runtime.core.RubyHash; | ||
import org.jruby.truffle.runtime.hash.Entry; | ||
|
||
public class HashGuards { | ||
|
||
@@ -20,11 +20,11 @@ public static boolean isNull(RubyHash hash) { | ||
|
||
public static boolean isObjectArray(RubyHash hash) { | ||
// Arrays are covariant in Java! | ||
return hash.getStore() instanceof Object[] && !(hash.getStore() instanceof Entry[]); | ||
} | ||
|
||
public static boolean isBucketArray(RubyHash hash) { | ||
return hash.getStore() instanceof Entry[]; | ||
This comment has been minimized.
eregon
Member
|
||
} | ||
|
||
} |
Oops, something went wrong.
needs a rename here.