Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 552eb4b4bb0786412786b96fc3d05001ddb376d3..14de8ab77ffc6ea790e894998f2de98c7073578b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -14030,8 +14030,9 @@ class StringSharedKey : public HashTableKey { |
// collection. |
Script* script(Script::cast(shared->script())); |
hash ^= String::cast(script->source())->Hash(); |
- STATIC_ASSERT(LANGUAGE_END == 2); |
+ STATIC_ASSERT(LANGUAGE_END == 3); |
if (is_strict(language_mode)) hash ^= 0x8000; |
+ if (is_sane(language_mode)) hash ^= 0x10000; |
hash += scope_position; |
} |
return hash; |