File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3232#include " src/common/globals.h"
3333#include " src/heap/factory-inl.h"
3434#include " src/heap/local-factory-inl.h"
35- #include " src/objects/string.h"
35+ #include " src/objects/string-inl.h"
36+ #include " src/roots/roots.h"
3637#include " src/strings/string-hasher.h"
3738#include " src/utils/utils-inl.h"
3839
@@ -83,7 +84,7 @@ bool AstRawString::AsArrayIndex(uint32_t* index) const {
8384 if (!IsIntegerIndex ()) return false ;
8485 if (length () <= Name::kMaxCachedArrayIndexLength ) {
8586 *index = StringHasher::DecodeArrayIndexFromHashField (
86- raw_hash_field_, HashSeed (ReadOnlyHeap:: GetReadOnlyRoots ()));
87+ raw_hash_field_, HashSeed (GetReadOnlyRoots ()));
8788 return true ;
8889 }
8990 // Might be an index, but too big to cache it. Do the slow conversion. This
You can’t perform that action at this time.
0 commit comments