summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/string-table.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/string-table.h')
-rw-r--r--deps/v8/src/objects/string-table.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/objects/string-table.h b/deps/v8/src/objects/string-table.h
index 88a86dfcdf..382fe06bf4 100644
--- a/deps/v8/src/objects/string-table.h
+++ b/deps/v8/src/objects/string-table.h
@@ -42,6 +42,8 @@ class StringTableShape : public BaseShape<StringTableKey*> {
static inline Handle<Object> AsHandle(Isolate* isolate, Key key);
+ static inline int GetMapRootIndex();
+
static const int kPrefixSize = 0;
static const int kEntrySize = 1;
};
@@ -59,7 +61,8 @@ class StringTable : public HashTable<StringTable, StringTableShape> {
V8_EXPORT_PRIVATE static Handle<String> LookupString(Isolate* isolate,
Handle<String> key);
static Handle<String> LookupKey(Isolate* isolate, StringTableKey* key);
- static String* LookupKeyIfExists(Isolate* isolate, StringTableKey* key);
+ static String* ForwardStringIfExists(Isolate* isolate, StringTableKey* key,
+ String* string);
// Looks up a string that is equal to the given string and returns
// string handle if it is found, or an empty handle otherwise.