| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index fd84341b1e335bb25389617a5543305f1d76599f..6caa82a5ea5d907119da06e0f2b35e7ce7794347 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_EQ(value, GetInternalField(index));
|
| + DCHECK(value->Equals(GetInternalField(index)));
|
| }
|
|
|
|
|
| @@ -7357,6 +7357,11 @@ void HeapSnapshot::Serialize(OutputStream* stream,
|
| }
|
|
|
|
|
| +// static
|
| +STATIC_CONST_MEMBER_DEFINITION const SnapshotObjectId
|
| + HeapProfiler::kUnknownObjectId;
|
| +
|
| +
|
| int HeapProfiler::GetSnapshotCount() {
|
| return reinterpret_cast<i::HeapProfiler*>(this)->GetSnapshotsCount();
|
| }
|
|
|