Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index efc714bff48786d66550e14bf134b4db3cc5e572..9f78b2be6fc9f2937469cfcc60963ab7bfb4d36d 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -123,6 +123,16 @@ void RegExpConstructResultStub::InitializeInterfaceDescriptor( |
} |
+void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ static Register registers[] = { edx, ecx }; |
+ descriptor->register_param_count_ = 2; |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = |
+ Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry; |
+} |
+ |
+ |
void LoadFieldStub::InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) { |
static Register registers[] = { edx }; |