Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 75525ed5be95ee7723968a0084687de7c440c3c7..32c9f00c32d8b2531c866e2d00bdcf1de334be40 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -713,7 +713,7 @@ int32_t LCodeGen::ToRepresentation(LConstantOperand* op, |
Handle<Object> LCodeGen::ToHandle(LConstantOperand* op) const { |
HConstant* constant = chunk_->LookupConstant(op); |
ASSERT(chunk_->LookupLiteralRepresentation(op).IsSmiOrTagged()); |
- return constant->handle(); |
+ return constant->handle(isolate()); |
} |
@@ -876,7 +876,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(); |
@@ -936,7 +936,7 @@ void LCodeGen::LoadContextFromDeferred(LOperand* context) { |
} else if (context->IsConstantOperand()) { |
HConstant* constant = |
chunk_->LookupConstant(LConstantOperand::cast(context)); |
- __ LoadObject(esi, Handle<Object>::cast(constant->handle())); |
+ __ LoadObject(esi, Handle<Object>::cast(constant->handle(isolate()))); |
} else { |
UNREACHABLE(); |
} |
@@ -1943,7 +1943,7 @@ void LCodeGen::DoConstantE(LConstantE* instr) { |
void LCodeGen::DoConstantT(LConstantT* instr) { |
Register reg = ToRegister(instr->result()); |
- Handle<Object> handle = instr->value(); |
+ Handle<Object> handle = instr->value(isolate()); |
AllowDeferredHandleDereference smi_check; |
__ LoadObject(reg, handle); |
} |