Revision: 10892
Author: [email protected]
Date: Thu Mar 1 04:56:02 2012
Log: 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 <[email protected]>.
Review URL: https://chromiumcodereview.appspot.com/9566003
http://code.google.com/p/v8/source/detail?r=10892
Modified:
/branches/bleeding_edge/src/mips/lithium-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Thu Mar 1 04:45:46
2012
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Thu Mar 1 04:56:02
2012
@@ -2286,7 +2286,7 @@
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);
}
@@ -2294,21 +2294,21 @@
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));
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev