| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index df6392438de57d35cb801a3cdd243ea66904f4b6..7b7c9c9a705c17cde2489a8218b5dd98faa2cbe4 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -627,8 +627,9 @@ void Code::CodeVerify() {
|
| kCodeAlignment));
|
| relocation_info()->ObjectVerify();
|
| Address last_gc_pc = NULL;
|
| + Isolate* isolate = GetIsolate();
|
| for (RelocIterator it(this); !it.done(); it.next()) {
|
| - it.rinfo()->Verify();
|
| + it.rinfo()->Verify(isolate);
|
| // Ensure that GC will not iterate twice over the same pointer.
|
| if (RelocInfo::IsGCRelocMode(it.rinfo()->rmode())) {
|
| CHECK(it.rinfo()->pc() != last_gc_pc);
|
|
|