MIPS: Additional explicit zone allocation changes.
These changes were not included in r10863 (226afed4) because of patch submission ordering. BUG= TEST= Patch from Daniel Kalmar <kalmard@homejinni.com>. Review URL: https://chromiumcodereview.appspot.com/9566003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10892 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1e40f7ac2c
commit
570a499bce
@ -2286,7 +2286,7 @@ LInstruction* LChunkBuilder::DoIn(HIn* instr) {
|
|||||||
|
|
||||||
LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
|
LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
|
||||||
LOperand* object = UseFixed(instr->enumerable(), a0);
|
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);
|
return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2294,21 +2294,21 @@ LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
|
|||||||
LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) {
|
LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) {
|
||||||
LOperand* map = UseRegister(instr->map());
|
LOperand* map = UseRegister(instr->map());
|
||||||
return AssignEnvironment(DefineAsRegister(
|
return AssignEnvironment(DefineAsRegister(
|
||||||
new LForInCacheArray(map)));
|
new(zone()) LForInCacheArray(map)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) {
|
LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) {
|
||||||
LOperand* value = UseRegisterAtStart(instr->value());
|
LOperand* value = UseRegisterAtStart(instr->value());
|
||||||
LOperand* map = UseRegisterAtStart(instr->map());
|
LOperand* map = UseRegisterAtStart(instr->map());
|
||||||
return AssignEnvironment(new LCheckMapValue(value, map));
|
return AssignEnvironment(new(zone()) LCheckMapValue(value, map));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
|
LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
|
||||||
LOperand* object = UseRegister(instr->object());
|
LOperand* object = UseRegister(instr->object());
|
||||||
LOperand* index = UseRegister(instr->index());
|
LOperand* index = UseRegister(instr->index());
|
||||||
return DefineAsRegister(new LLoadFieldByIndex(object, index));
|
return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user