| Index: src/a64/lithium-codegen-a64.cc
|
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
|
| index 660e7485b40512bc4f020adbcb49a83896d20576..d687d5a697564d25419c2dfdc8fae829e2615f6b 100644
|
| --- a/src/a64/lithium-codegen-a64.cc
|
| +++ b/src/a64/lithium-codegen-a64.cc
|
| @@ -359,7 +359,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();
|
| @@ -1135,7 +1135,7 @@ Operand LCodeGen::ToOperand(LOperand* op) {
|
| Abort(kToOperandUnsupportedDoubleImmediate);
|
| }
|
| ASSERT(r.IsTagged());
|
| - return Operand(constant->handle());
|
| + return Operand(constant->handle(isolate()));
|
| } else if (op->IsRegister()) {
|
| return Operand(ToRegister(op));
|
| } else if (op->IsDoubleRegister()) {
|
| @@ -1196,7 +1196,7 @@ MemOperand LCodeGen::ToMemOperand(LOperand* 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());
|
| }
|
|
|
|
|
| @@ -2416,7 +2416,7 @@ void LCodeGen::DoConstantS(LConstantS* 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);
|
| }
|
|
|