Forwardport the hash table fix from CodeGeneratorJS.pm to create_hash_table.
Reran run-jsc-tests, couldn't find any regressions. Suggested by Darin.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24198
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Mark.
+
+ Forwardport the hash table fix from CodeGeneratorJS.pm to create_hash_table.
+ Reran run-jsc-tests, couldn't find any regressions. Suggested by Darin.
+
+ * kjs/create_hash_table:
+
2007-07-09 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
$hash = (leftShift($hash, 16)% $EXP2_32) ^ $tmp;
$s += 2;
$hash += $hash >> 11;
+ $hash %= $EXP2_32;
}
# Handle end case