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