| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 56fc792581acad340936fa8312d176d5c4363693..042142a959ade311e1749f2a9814e9c61ade741e 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -533,7 +533,7 @@ i::Object** V8::GlobalizeReference(i::Isolate* isolate, i::Object** obj) {
|
| LOG_API(isolate, "Persistent::New");
|
| i::Handle<i::Object> result = isolate->global_handles()->Create(*obj);
|
| #ifdef DEBUG
|
| - (*obj)->Verify();
|
| + (*obj)->ObjectVerify();
|
| #endif // DEBUG
|
| return result.location();
|
| }
|
| @@ -542,7 +542,7 @@ i::Object** V8::GlobalizeReference(i::Isolate* isolate, i::Object** obj) {
|
| i::Object** V8::CopyPersistent(i::Object** obj) {
|
| i::Handle<i::Object> result = i::GlobalHandles::CopyGlobal(obj);
|
| #ifdef DEBUG
|
| - (*obj)->Verify();
|
| + (*obj)->ObjectVerify();
|
| #endif // DEBUG
|
| return result.location();
|
| }
|
|
|