| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 41f2ab6d8823f2e85ee1ec636e0016a495273fa6..6adfaa6d0b91c3cb21bbc499f0ff8c85ed153db1 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -10497,7 +10497,7 @@ class StringSharedKey : public HashTableKey {
|
| if (!other->IsFixedArray()) return false;
|
| FixedArray* other_array = FixedArray::cast(other);
|
| SharedFunctionInfo* shared = SharedFunctionInfo::cast(other_array->get(0));
|
| - if (shared != shared_) return false;
|
| + if (shared->script() != shared_->script()) return false;
|
| int language_unchecked = Smi::cast(other_array->get(2))->value();
|
| ASSERT(language_unchecked == CLASSIC_MODE ||
|
| language_unchecked == STRICT_MODE ||
|
|
|