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

Port 983ca3f1e7bd8cbba45684d5c1642cd495ca9bc1
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
parent b48e27ea
......@@ -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(
CallInterfaceDescriptorData* data) {
// register state
......
......@@ -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(
CallInterfaceDescriptorData* data) {
// register state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment