| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 5c8a8987054a7d0c2096599337e5ff8c26fddf7d..7d73c0727007e29678285a8b40f2f1d6de51f13f 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -10308,7 +10308,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 ||
|
|
|