| Index: vm/assembler.cc
|
| ===================================================================
|
| --- vm/assembler.cc (revision 15918)
|
| +++ vm/assembler.cc (working copy)
|
| @@ -151,7 +151,7 @@
|
| void AssemblerBuffer::EmitObject(const Object& object) {
|
| // Since we are going to store the handle as part of the fixup information
|
| // the handle needs to be a zone handle.
|
| - ASSERT(object.IsZoneHandle());
|
| + ASSERT(object.IsNotTemporaryScopedHandle());
|
| ASSERT(object.IsOld());
|
| EmitFixup(new PatchCodeWithHandle(pointer_offsets_, object));
|
| cursor_ += kWordSize; // Reserve space for pointer.
|
|
|