OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 descriptor->deoptimization_handler_ = NULL; | 59 descriptor->deoptimization_handler_ = NULL; |
60 } | 60 } |
61 | 61 |
62 | 62 |
63 void NumberToStringStub::InitializeInterfaceDescriptor( | 63 void NumberToStringStub::InitializeInterfaceDescriptor( |
64 Isolate* isolate, | 64 Isolate* isolate, |
65 CodeStubInterfaceDescriptor* descriptor) { | 65 CodeStubInterfaceDescriptor* descriptor) { |
66 static Register registers[] = { a0 }; | 66 static Register registers[] = { a0 }; |
67 descriptor->register_param_count_ = 1; | 67 descriptor->register_param_count_ = 1; |
68 descriptor->register_params_ = registers; | 68 descriptor->register_params_ = registers; |
69 descriptor->deoptimization_handler_ = NULL; | 69 descriptor->deoptimization_handler_ = |
| 70 Runtime::FunctionForId(Runtime::kNumberToString)->entry; |
70 } | 71 } |
71 | 72 |
72 | 73 |
73 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( | 74 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
74 Isolate* isolate, | 75 Isolate* isolate, |
75 CodeStubInterfaceDescriptor* descriptor) { | 76 CodeStubInterfaceDescriptor* descriptor) { |
76 static Register registers[] = { a3, a2, a1 }; | 77 static Register registers[] = { a3, a2, a1 }; |
77 descriptor->register_param_count_ = 3; | 78 descriptor->register_param_count_ = 3; |
78 descriptor->register_params_ = registers; | 79 descriptor->register_params_ = registers; |
79 descriptor->deoptimization_handler_ = | 80 descriptor->deoptimization_handler_ = |
(...skipping 6151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6231 __ bind(&fast_elements_case); | 6232 __ bind(&fast_elements_case); |
6232 GenerateCase(masm, FAST_ELEMENTS); | 6233 GenerateCase(masm, FAST_ELEMENTS); |
6233 } | 6234 } |
6234 | 6235 |
6235 | 6236 |
6236 #undef __ | 6237 #undef __ |
6237 | 6238 |
6238 } } // namespace v8::internal | 6239 } } // namespace v8::internal |
6239 | 6240 |
6240 #endif // V8_TARGET_ARCH_MIPS | 6241 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |