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_ = GetDeoptimizationHandler(); |
| 269 } |
| 270 |
| 271 |
262 #define __ ACCESS_MASM(masm) | 272 #define __ ACCESS_MASM(masm) |
263 | 273 |
264 | 274 |
265 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 275 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
266 Label* slow, | 276 Label* slow, |
267 Condition cc); | 277 Condition cc); |
268 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 278 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
269 Register lhs, | 279 Register lhs, |
270 Register rhs, | 280 Register rhs, |
271 Label* rhs_not_nan, | 281 Label* rhs_not_nan, |
(...skipping 7342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7614 __ bind(&fast_elements_case); | 7624 __ bind(&fast_elements_case); |
7615 GenerateCase(masm, FAST_ELEMENTS); | 7625 GenerateCase(masm, FAST_ELEMENTS); |
7616 } | 7626 } |
7617 | 7627 |
7618 | 7628 |
7619 #undef __ | 7629 #undef __ |
7620 | 7630 |
7621 } } // namespace v8::internal | 7631 } } // namespace v8::internal |
7622 | 7632 |
7623 #endif // V8_TARGET_ARCH_MIPS | 7633 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |