Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 1273d856cc59c4dbeb9f05ddb93dacf95a4f71ad..c860606bbd40b62e43c1bed6b62646f0094cf873 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -407,6 +407,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()); |
__ li(scratch, Operand(static_cast<int32_t>(literal->Number()))); |
} else if (r.IsSmi()) { |