Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3b2db221f8e54e81282e7c4702ebde882b46d8cb..3466dcf18e58daba82ba1864085f8fc0bb3042f1 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -763,7 +763,6 @@ MaybeObject* Object::GetHash(CreationFlag flag) { |
bool Object::SameValue(Object* other) { |
if (other == this) return true; |
- if (!IsHeapObject() || !other->IsHeapObject()) return false; |
// The object is either a number, a string, an odd-ball, |
// a real JS object, or a Harmony proxy. |