| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 4d86882a8ea7bb322fc91b7f23bfebc7779503b4..2d3ebc64991a9fd1e07cbdec6ee180b331cd50ef 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -2310,7 +2310,7 @@ LInstruction* LChunkBuilder::DoIn(HIn* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
|
| LOperand* object = UseFixed(instr->enumerable(), a0);
|
| - LForInPrepareMap* result = new LForInPrepareMap(object);
|
| + LForInPrepareMap* result = new(zone()) LForInPrepareMap(object);
|
| return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY);
|
| }
|
|
|
| @@ -2318,21 +2318,21 @@ LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
|
| LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) {
|
| LOperand* map = UseRegister(instr->map());
|
| return AssignEnvironment(DefineAsRegister(
|
| - new LForInCacheArray(map)));
|
| + new(zone()) LForInCacheArray(map)));
|
| }
|
|
|
|
|
| LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) {
|
| LOperand* value = UseRegisterAtStart(instr->value());
|
| LOperand* map = UseRegisterAtStart(instr->map());
|
| - return AssignEnvironment(new LCheckMapValue(value, map));
|
| + return AssignEnvironment(new(zone()) LCheckMapValue(value, map));
|
| }
|
|
|
|
|
| LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
|
| LOperand* object = UseRegister(instr->object());
|
| LOperand* index = UseRegister(instr->index());
|
| - return DefineAsRegister(new LLoadFieldByIndex(object, index));
|
| + return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
|
| }
|
|
|
|
|
|
|