Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 8f4cd4637af8e1c61b1be0cecb172b07ade298e0..85438f47b3f799de884c3337568abdeb7d57135e 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -417,6 +417,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()); |
__ LoadIntLiteral(scratch, static_cast<int32_t>(literal->Number())); |
} else if (r.IsDouble()) { |