Index: src/ia32/interface-descriptors-ia32.cc |
diff --git a/src/ia32/interface-descriptors-ia32.cc b/src/ia32/interface-descriptors-ia32.cc |
index d22a2c1d9495ac3e19ec9ed6336a79c7fe667452..fc5e461595c001c133a9e92bef96c5d7fd20d9ab 100644 |
--- a/src/ia32/interface-descriptors-ia32.cc |
+++ b/src/ia32/interface-descriptors-ia32.cc |
@@ -20,6 +20,11 @@ void CallInterfaceDescriptor::DefaultInitializePlatformSpecific( |
default_stub_registers); |
} |
+const Register FastNewFunctionContextDescriptor::FunctionRegister() { |
+ return edi; |
+} |
+const Register FastNewFunctionContextDescriptor::SlotsRegister() { return eax; } |
+ |
const Register LoadDescriptor::ReceiverRegister() { return edx; } |
const Register LoadDescriptor::NameRegister() { return ecx; } |
const Register LoadDescriptor::SlotRegister() { return eax; } |
@@ -76,12 +81,6 @@ void FastNewClosureDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
} |
-void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
- CallInterfaceDescriptorData* data) { |
- Register registers[] = {edi}; |
- data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
-} |
- |
void FastNewObjectDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {edi, edx}; |