Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 747730b3f5132e24e5b87ecb73a7d9e989b93b4d..c56206a9ea899a80dfec0fa8b0c66d2a0dd449b4 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -427,6 +427,7 @@ Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) { |
Handle<Object> literal = constant->handle(isolate()); |
Representation r = chunk_->LookupLiteralRepresentation(const_op); |
if (r.IsInteger32()) { |
+ AllowDeferredHandleDereference get_number; |
DCHECK(literal->IsNumber()); |
__ mov(scratch, Operand(static_cast<int32_t>(literal->Number()))); |
} else if (r.IsDouble()) { |