MIPS: [turbofan] Add AllocateHeapNumberStub to avoid runtime call.

Port 983ca3f1e7
Port r25107

TEST=unittests
BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/699903002

Cr-Commit-Position: refs/heads/master@{#25118}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25118 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
balazs.kilvady@imgtec.com 2014-11-04 17:19:52 +00:00
parent b48e27ea00
commit 512cd8e728
2 changed files with 18 additions and 0 deletions

View File

@ -152,6 +152,15 @@ void TransitionElementsKindDescriptor::Initialize(
} }
void AllocateHeapNumberDescriptor::Initialize(
CallInterfaceDescriptorData* data) {
// register state
// cp -- context
Register registers[] = {cp};
data->Initialize(arraysize(registers), registers, nullptr);
}
void ArrayConstructorConstantArgCountDescriptor::Initialize( void ArrayConstructorConstantArgCountDescriptor::Initialize(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
// register state // register state

View File

@ -152,6 +152,15 @@ void TransitionElementsKindDescriptor::Initialize(
} }
void AllocateHeapNumberDescriptor::Initialize(
CallInterfaceDescriptorData* data) {
// register state
// cp -- context
Register registers[] = {cp};
data->Initialize(arraysize(registers), registers, nullptr);
}
void ArrayConstructorConstantArgCountDescriptor::Initialize( void ArrayConstructorConstantArgCountDescriptor::Initialize(
CallInterfaceDescriptorData* data) { CallInterfaceDescriptorData* data) {
// register state // register state