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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 Isolate* isolate, | 252 Isolate* isolate, |
253 CodeStubInterfaceDescriptor* descriptor) { | 253 CodeStubInterfaceDescriptor* descriptor) { |
254 static Register registers[] = { a1, a2, a0 }; | 254 static Register registers[] = { a1, a2, a0 }; |
255 descriptor->register_param_count_ = 3; | 255 descriptor->register_param_count_ = 3; |
256 descriptor->register_params_ = registers; | 256 descriptor->register_params_ = registers; |
257 descriptor->deoptimization_handler_ = | 257 descriptor->deoptimization_handler_ = |
258 FUNCTION_ADDR(StoreIC_MissFromStubFailure); | 258 FUNCTION_ADDR(StoreIC_MissFromStubFailure); |
259 } | 259 } |
260 | 260 |
261 | 261 |
262 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | |
263 Isolate* isolate, | |
264 CodeStubInterfaceDescriptor* descriptor) { | |
265 static Register registers[] = { a0, a3, a1, a2 }; | |
266 descriptor->register_param_count_ = 4; | |
267 descriptor->register_params_ = registers; | |
268 descriptor->deoptimization_handler_ = | |
269 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss); | |
270 } | |
271 | |
272 | |
273 #define __ ACCESS_MASM(masm) | 262 #define __ ACCESS_MASM(masm) |
274 | 263 |
275 | 264 |
276 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 265 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
277 Label* slow, | 266 Label* slow, |
278 Condition cc); | 267 Condition cc); |
279 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 268 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
280 Register lhs, | 269 Register lhs, |
281 Register rhs, | 270 Register rhs, |
282 Label* rhs_not_nan, | 271 Label* rhs_not_nan, |
(...skipping 7342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7625 __ bind(&fast_elements_case); | 7614 __ bind(&fast_elements_case); |
7626 GenerateCase(masm, FAST_ELEMENTS); | 7615 GenerateCase(masm, FAST_ELEMENTS); |
7627 } | 7616 } |
7628 | 7617 |
7629 | 7618 |
7630 #undef __ | 7619 #undef __ |
7631 | 7620 |
7632 } } // namespace v8::internal | 7621 } } // namespace v8::internal |
7633 | 7622 |
7634 #endif // V8_TARGET_ARCH_MIPS | 7623 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |