Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index d4eee16181ca22bfb3a666bb938b739c7fc4a50a..fd84341b1e335bb25389617a5543305f1d76599f 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -4996,7 +4996,7 @@ void v8::Object::SetInternalField(int index, v8::Handle<Value> value) { |
if (!InternalFieldOK(obj, index, location)) return; |
i::Handle<i::Object> val = Utils::OpenHandle(*value); |
obj->SetInternalField(index, *val); |
- DCHECK(value->Equals(GetInternalField(index))); |
+ DCHECK_EQ(value, GetInternalField(index)); |
} |