Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 941bb32affdfcc7dd5b0fc87829bf46d8429eb81..264e3001d8cf9ab7805cb0e79429b266f85e1aa3 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -306,6 +306,17 @@ void BinaryOpStub::InitializeInterfaceDescriptor( |
} |
+void NewStringAddStub::InitializeInterfaceDescriptor( |
+ Isolate* isolate, |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ static Register registers[] = { edx, eax }; |
+ descriptor->register_param_count_ = 2; |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = |
+ Runtime::FunctionForId(Runtime::kStringAdd)->entry; |
+} |
+ |
+ |
#define __ ACCESS_MASM(masm) |