Chromium Code Reviews| Index: src/ia32/lithium-ia32.cc |
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
| index 5adaf431bd702ff88a4565897b4698949d3a7736..1e6383f7a7ca97466790d44f2510db67e8077d40 100644 |
| --- a/src/ia32/lithium-ia32.cc |
| +++ b/src/ia32/lithium-ia32.cc |
| @@ -1958,7 +1958,8 @@ LInstruction* LChunkBuilder::DoLoadKeyedFastElement( |
| ASSERT(instr->key()->representation().IsInteger32()); |
| LOperand* obj = UseRegisterAtStart(instr->object()); |
| LOperand* key = UseRegisterOrConstantAtStart(instr->key()); |
| - LLoadKeyedFastElement* result = new(zone()) LLoadKeyedFastElement(obj, key); |
| + LLoadKeyedFastElement* result = |
|
Jakob Kummerow
2012/05/15 15:53:23
nit: why this change?
|
| + new(zone()) LLoadKeyedFastElement(obj, key); |
| if (instr->RequiresHoleCheck()) AssignEnvironment(result); |
| return DefineAsRegister(result); |
| } |
| @@ -1990,8 +1991,7 @@ LInstruction* LChunkBuilder::DoLoadKeyedSpecializedArrayElement( |
| LOperand* external_pointer = UseRegister(instr->external_pointer()); |
| LOperand* key = UseRegisterOrConstant(instr->key()); |
| LLoadKeyedSpecializedArrayElement* result = |
| - new(zone()) LLoadKeyedSpecializedArrayElement(external_pointer, |
| - key); |
| + new(zone()) LLoadKeyedSpecializedArrayElement(external_pointer, key); |
| LInstruction* load_instr = DefineAsRegister(result); |
| // An unsigned int array load might overflow and cause a deopt, make sure it |
| // has an environment. |