Revision: 14256
Author: [email protected]
Date: Fri Apr 12 10:06:23 2013
Log: MIPS: Enable pretenuring of fast literals in high promotion mode.
Port r14248 (144e215a)
BUG=
Review URL: https://codereview.chromium.org/13903005
http://code.google.com/p/v8/source/detail?r=14256
Modified:
/branches/bleeding_edge/src/mips/lithium-codegen-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Thu Apr 11
16:25:08 2013
+++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Fri Apr 12
10:06:23 2013
@@ -5331,7 +5331,13 @@
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);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.