| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index fd9bf1897124c31190ada3ba5b371ff4a38bd428..b0813eec70a28a7256ca1ab56f194d559fe22f87 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -450,7 +450,7 @@ ExternalReference LCodeGen::ToExternalReference(LConstantOperand* op) const {
|
| Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const {
|
| HConstant* constant = chunk_->LookupConstant(op);
|
| ASSERT(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged());
|
| - return constant->handle();
|
| + return constant->handle(isolate());
|
| }
|
|
|
|
|
| @@ -582,7 +582,7 @@ void LCodeGen::AddToTranslation(LEnvironment* environment,
|
| translation->StoreDoubleRegister(reg);
|
| } else if (op->IsConstantOperand()) {
|
| HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op));
|
| - int src_index = DefineDeoptimizationLiteral(constant->handle());
|
| + int src_index = DefineDeoptimizationLiteral(constant->handle(isolate()));
|
| translation->StoreLiteral(src_index);
|
| } else {
|
| UNREACHABLE();
|
| @@ -1598,7 +1598,7 @@ void LCodeGen::DoConstantE(LConstantE* instr) {
|
|
|
|
|
| void LCodeGen::DoConstantT(LConstantT* instr) {
|
| - Handle<Object> value = instr->value();
|
| + Handle<Object> value = instr->value(isolate());
|
| AllowDeferredHandleDereference smi_check;
|
| __ LoadObject(ToRegister(instr->result()), value);
|
| }
|
|
|