| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 272383c608355b5d671e88a288ea8cc96c5b3eca..a2352a51b22f5f53b7ac352d0aba488c8be78233 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -377,10 +377,10 @@ static inline Handle<String> MakeOrFindTwoCharacterString(Isolate* isolate,
|
| // Numeric strings have a different hash algorithm not known by
|
| // LookupTwoCharsStringIfExists, so we skip this step for such strings.
|
| if (!Between(c1, '0', '9') || !Between(c2, '0', '9')) {
|
| - String* result;
|
| - StringTable* table = isolate->heap()->string_table();
|
| - if (table->LookupTwoCharsStringIfExists(c1, c2, &result)) {
|
| - return handle(result);
|
| + Handle<String> result;
|
| + if (StringTable::LookupTwoCharsStringIfExists(isolate, c1, c2).
|
| + ToHandle(&result)) {
|
| + return result;
|
| }
|
| }
|
|
|
|
|