Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index ea104fb031c5bcdca5e1588666db68d19790606e..9ee9697aac6b84d935b37d501fffaeec19d7b62a 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -60,6 +60,16 @@ void ToNumberStub::InitializeInterfaceDescriptor( |
} |
+void NumberToStringStub::InitializeInterfaceDescriptor( |
+ Isolate* isolate, |
+ CodeStubInterfaceDescriptor* descriptor) { |
+ static Register registers[] = { a0 }; |
+ descriptor->register_param_count_ = 1; |
+ descriptor->register_params_ = registers; |
+ descriptor->deoptimization_handler_ = NULL; |
+} |
+ |
+ |
void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
Isolate* isolate, |
CodeStubInterfaceDescriptor* descriptor) { |
@@ -994,21 +1004,6 @@ static void EmitCheckForInternalizedStringsOrObjects(MacroAssembler* masm, |
} |
-void NumberToStringStub::Generate(MacroAssembler* masm) { |
- Label runtime; |
- |
- __ lw(a1, MemOperand(sp, 0)); |
- |
- // Generate code to lookup number in the number string cache. |
- __ LookupNumberStringCache(a1, v0, a2, a3, t0, &runtime); |
- __ DropAndRet(1); |
- |
- __ bind(&runtime); |
- // Handle number to string in the runtime system if not found in the cache. |
- __ TailCallRuntime(Runtime::kNumberToString, 1, 1); |
-} |
- |
- |
static void ICCompareStub_CheckInputType(MacroAssembler* masm, |
Register input, |
Register scratch, |