| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 34c5beb38d88d0c5dffdc3567fd7bf240cdf4a2e..a2bdad0b5599c213b768210b4da1e7767110832e 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1079,11 +1079,12 @@ LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
|
| HInstanceOfKnownGlobal* instr) {
|
| +
|
| + LOperand* left = UseFixed(instr->left(), InstanceofStub::left());
|
| + LOperand* temp = FixedTemp(edi);
|
| + LOperand* context = UseFixed(instr->context(), esi);
|
| LInstanceOfKnownGlobal* result =
|
| - new LInstanceOfKnownGlobal(
|
| - UseFixed(instr->context(), esi),
|
| - UseFixed(instr->left(), InstanceofStub::left()),
|
| - FixedTemp(edi));
|
| + new LInstanceOfKnownGlobal(context, left, temp);
|
| return MarkAsCall(DefineFixed(result, eax), instr);
|
| }
|
|
|
| @@ -1243,7 +1244,8 @@ LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
|
| LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) {
|
| argument_count_ -= instr->argument_count();
|
| LOperand* context = UseFixed(instr->context(), esi);
|
| - return MarkAsCall(DefineFixed(new LCallRuntime(context), eax), instr);
|
| + LCallRuntime* result = new LCallRuntime(context);
|
| + return MarkAsCall(DefineFixed(result, eax), instr);
|
| }
|
|
|
|
|
|
|