MIPS: Activate generation of Crankshafted KeyedStores
Port r14186 (ac288c29) BUG= Review URL: https://codereview.chromium.org/13950002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
06869e752e
commit
fbcea27e9f
@ -5335,11 +5335,11 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
|||||||
if (instr->hydrogen()->MustAllocateDoubleAligned()) {
|
if (instr->hydrogen()->MustAllocateDoubleAligned()) {
|
||||||
flags = static_cast<AllocationFlags>(flags | DOUBLE_ALIGNMENT);
|
flags = static_cast<AllocationFlags>(flags | DOUBLE_ALIGNMENT);
|
||||||
}
|
}
|
||||||
|
if (instr->hydrogen()->CanAllocateInOldPointerSpace()) {
|
||||||
|
flags = static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE);
|
||||||
|
}
|
||||||
if (instr->size()->IsConstantOperand()) {
|
if (instr->size()->IsConstantOperand()) {
|
||||||
int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
||||||
if (instr->hydrogen()->CanAllocateInOldPointerSpace()) {
|
|
||||||
flags = static_cast<AllocationFlags>(flags | PRETENURE_OLD_POINTER_SPACE);
|
|
||||||
}
|
|
||||||
__ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
__ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
||||||
} else {
|
} else {
|
||||||
Register size = ToRegister(instr->size());
|
Register size = ToRegister(instr->size());
|
||||||
|
Loading…
Reference in New Issue
Block a user