| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 82fd35324f3a7931b2b7a72b8b97796b49d09b53..a775aa667dfcc20f42ebef5a34737583bef8b8bc 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -9586,9 +9586,8 @@ Handle<Map> Map::AsLanguageMode(Handle<Map> initial_map,
|
| LanguageMode language_mode, FunctionKind kind) {
|
| DCHECK_EQ(JS_FUNCTION_TYPE, initial_map->instance_type());
|
| // Initial map for sloppy mode function is stored in the function
|
| - // constructor. Initial maps for strict and strong modes are cached as
|
| - // special transitions using |strict_function_transition_symbol| and
|
| - // |strong_function_transition_symbol| respectively as a key.
|
| + // constructor. Initial maps for strict mode are cached as special transitions
|
| + // using |strict_function_transition_symbol| as a key.
|
| if (language_mode == SLOPPY) return initial_map;
|
| Isolate* isolate = initial_map->GetIsolate();
|
| Factory* factory = isolate->factory();
|
| @@ -9603,9 +9602,6 @@ Handle<Map> Map::AsLanguageMode(Handle<Map> initial_map,
|
| case STRICT:
|
| transition_symbol = factory->strict_function_transition_symbol();
|
| break;
|
| - case STRONG:
|
| - transition_symbol = factory->strong_function_transition_symbol();
|
| - break;
|
| default:
|
| UNREACHABLE();
|
| break;
|
| @@ -16797,7 +16793,6 @@ class StringSharedKey : public HashTableKey {
|
| hash ^= String::cast(script->source())->Hash();
|
| STATIC_ASSERT(LANGUAGE_END == 3);
|
| if (is_strict(language_mode)) hash ^= 0x8000;
|
| - if (is_strong(language_mode)) hash ^= 0x10000;
|
| hash += scope_position;
|
| }
|
| return hash;
|
|
|