Skip to content

Commit

Permalink
[Truffle] Fixed TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 21, 2016
1 parent 9f5136f commit 309bfe6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,6 @@ public long hash(VirtualFrame frame, DynamicObject array,
@Cached("of(array)") ArrayStrategy strategy,
@Cached("createMethodCall()") CallDispatchHeadNode toHashNode) {
final int size = strategy.getSize(array);
// TODO BJF Jul 4, 2016 Seed could be chosen in advance to avoid branching
long h = Hashing.start(size);
h = Hashing.update(h, MURMUR_ARRAY_SEED);
final ArrayMirror store = strategy.newMirror(array);
Expand Down

0 comments on commit 309bfe6

Please sign in to comment.