| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 4b5f93f54a2108f092a414ea33a1a9bcba0a503f..7a8664cfd6cbdfb4b5f854b4c5f6bbc6dddfd3f4 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -9168,7 +9168,7 @@
|
| Handle<Map> function_map(
|
| Map::cast(isolate->native_context()->get(map_index)));
|
|
|
| - STATIC_ASSERT(LAST_LANGUAGE_MODE == 1);
|
| + STATIC_ASSERT(LANGUAGE_END == 2);
|
| DCHECK_EQ(STRICT, language_mode);
|
| Handle<Symbol> transition_symbol =
|
| isolate->factory()->strict_function_transition_symbol();
|
| @@ -16013,7 +16013,7 @@
|
| // collection.
|
| Script* script(Script::cast(shared->script()));
|
| hash ^= String::cast(script->source())->Hash();
|
| - STATIC_ASSERT(LAST_LANGUAGE_MODE == 1);
|
| + STATIC_ASSERT(LANGUAGE_END == 2);
|
| if (is_strict(language_mode)) hash ^= 0x8000;
|
| hash += scope_position;
|
| }
|
|
|