MIPS: Enable pretenuring of fast literals in high promotion mode.
Port r14248 (144e215a) BUG= Review URL: https://codereview.chromium.org/13903005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14256 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c052d2f708
commit
ae37cb350f
@ -5331,7 +5331,13 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) {
|
||||
PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters);
|
||||
__ SmiTag(size, size);
|
||||
__ push(size);
|
||||
CallRuntimeFromDeferred(Runtime::kAllocateInNewSpace, 1, instr);
|
||||
if (instr->hydrogen()->CanAllocateInOldPointerSpace()) {
|
||||
CallRuntimeFromDeferred(
|
||||
Runtime::kAllocateInOldPointerSpace, 1, instr);
|
||||
} else {
|
||||
CallRuntimeFromDeferred(
|
||||
Runtime::kAllocateInNewSpace, 1, instr);
|
||||
}
|
||||
__ StoreToSafepointRegisterSlot(v0, result);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user