Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index fb566d1dd1fb4231730cc2856b0a382c4415d5cd..64fbb78c53e78c909c3f49f9218845b7928f88ce 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -1031,8 +1031,8 @@ void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { |
Handle<FixedArray> literals = |
factory()->NewFixedArray(deoptimization_literals_.length(), TENURED); |
- { ALLOW_HANDLE_DEREF(isolate(), |
- "copying a ZoneList of handles into a FixedArray"); |
+ { ALLOW_DEFERRED_HANDLE_DEREF( |
+ isolate(), "copying a ZoneList of handles into a FixedArray"); |
for (int i = 0; i < deoptimization_literals_.length(); i++) { |
literals->set(i, *deoptimization_literals_[i]); |
} |
@@ -1810,7 +1810,7 @@ void LCodeGen::DoConstantD(LConstantD* instr) { |
void LCodeGen::DoConstantT(LConstantT* instr) { |
Register reg = ToRegister(instr->result()); |
Handle<Object> handle = instr->value(); |
- ALLOW_HANDLE_DEREF(isolate(), "smi check"); |
+ ALLOW_DEFERRED_HANDLE_DEREF(isolate(), "smi check"); |
if (handle->IsHeapObject()) { |
__ LoadHeapObject(reg, Handle<HeapObject>::cast(handle)); |
} else { |
@@ -3063,7 +3063,7 @@ void LCodeGen::EmitPushTaggedOperand(LOperand* operand) { |
ASSERT(!operand->IsDoubleRegister()); |
if (operand->IsConstantOperand()) { |
Handle<Object> object = ToHandle(LConstantOperand::cast(operand)); |
- ALLOW_HANDLE_DEREF(isolate(), "smi check"); |
+ ALLOW_DEFERRED_HANDLE_DEREF(isolate(), "smi check"); |
if (object->IsSmi()) { |
__ Push(Handle<Smi>::cast(object)); |
} else { |