Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 5361) |
+++ src/objects.h (working copy) |
@@ -4212,6 +4212,11 @@ |
void invalidate() { is_valid_ = false; } |
+ // Calculated hash value for a string consisting of 1 to |
+ // String::kMaxArrayIndexSize digits with no leading zeros (except "0"). |
+ // value is represented decimal value. |
+ static uint32_t MakeCachedArrayIndex(uint32_t value, int length); |
+ |
private: |
uint32_t array_index() { |