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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 } | 240 } |
241 | 241 |
242 | 242 |
243 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 243 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
244 Isolate* isolate, | 244 Isolate* isolate, |
245 CodeStubInterfaceDescriptor* descriptor) { | 245 CodeStubInterfaceDescriptor* descriptor) { |
246 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1); | 246 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1); |
247 } | 247 } |
248 | 248 |
249 | 249 |
250 void UnaryOpStub::InitializeInterfaceDescriptor( | |
251 Isolate* isolate, | |
252 CodeStubInterfaceDescriptor* descriptor) { | |
253 static Register registers[] = { a0 }; | |
254 descriptor->register_param_count_ = 1; | |
255 descriptor->register_params_ = registers; | |
256 descriptor->deoptimization_handler_ = | |
257 FUNCTION_ADDR(UnaryOpIC_Miss); | |
258 } | |
259 | |
260 | |
261 void StoreGlobalStub::InitializeInterfaceDescriptor( | 250 void StoreGlobalStub::InitializeInterfaceDescriptor( |
262 Isolate* isolate, | 251 Isolate* isolate, |
263 CodeStubInterfaceDescriptor* descriptor) { | 252 CodeStubInterfaceDescriptor* descriptor) { |
264 static Register registers[] = { a1, a2, a0 }; | 253 static Register registers[] = { a1, a2, a0 }; |
265 descriptor->register_param_count_ = 3; | 254 descriptor->register_param_count_ = 3; |
266 descriptor->register_params_ = registers; | 255 descriptor->register_params_ = registers; |
267 descriptor->deoptimization_handler_ = | 256 descriptor->deoptimization_handler_ = |
268 FUNCTION_ADDR(StoreIC_MissFromStubFailure); | 257 FUNCTION_ADDR(StoreIC_MissFromStubFailure); |
269 } | 258 } |
270 | 259 |
(...skipping 7319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7590 __ bind(&fast_elements_case); | 7579 __ bind(&fast_elements_case); |
7591 GenerateCase(masm, FAST_ELEMENTS); | 7580 GenerateCase(masm, FAST_ELEMENTS); |
7592 } | 7581 } |
7593 | 7582 |
7594 | 7583 |
7595 #undef __ | 7584 #undef __ |
7596 | 7585 |
7597 } } // namespace v8::internal | 7586 } } // namespace v8::internal |
7598 | 7587 |
7599 #endif // V8_TARGET_ARCH_MIPS | 7588 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |