| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index dde6179007ef8519e4c02f87b768a0037d539d67..23f98eb14814ba635099d2ad0478d591146d75ab 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -14610,6 +14610,14 @@ Handle<String> StringTable::LookupKey(Isolate* isolate, HashTableKey* key) {
|
| }
|
|
|
|
|
| +String* StringTable::LookupKeyIfExists(Isolate* isolate, HashTableKey* key) {
|
| + Handle<StringTable> table = isolate->factory()->string_table();
|
| + int entry = table->FindEntry(key);
|
| + if (entry != kNotFound) return String::cast(table->KeyAt(entry));
|
| + return NULL;
|
| +}
|
| +
|
| +
|
| Handle<Object> CompilationCacheTable::Lookup(Handle<String> src,
|
| Handle<Context> context,
|
| LanguageMode language_mode) {
|
|
|