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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 Isolate* isolate, | 230 Isolate* isolate, |
231 CodeStubInterfaceDescriptor* descriptor) { | 231 CodeStubInterfaceDescriptor* descriptor) { |
232 static Register registers[] = { r0 }; | 232 static Register registers[] = { r0 }; |
233 descriptor->register_param_count_ = 1; | 233 descriptor->register_param_count_ = 1; |
234 descriptor->register_params_ = registers; | 234 descriptor->register_params_ = registers; |
235 descriptor->deoptimization_handler_ = | 235 descriptor->deoptimization_handler_ = |
236 FUNCTION_ADDR(UnaryOpIC_Miss); | 236 FUNCTION_ADDR(UnaryOpIC_Miss); |
237 } | 237 } |
238 | 238 |
239 | 239 |
| 240 void StoreGlobalStub::InitializeInterfaceDescriptor( |
| 241 Isolate* isolate, |
| 242 CodeStubInterfaceDescriptor* descriptor) { |
| 243 static Register registers[] = { r1, r2, r0 }; |
| 244 descriptor->register_param_count_ = 3; |
| 245 descriptor->register_params_ = registers; |
| 246 descriptor->deoptimization_handler_ = |
| 247 FUNCTION_ADDR(StoreIC_MissFromStubFailure); |
| 248 } |
| 249 |
| 250 |
240 #define __ ACCESS_MASM(masm) | 251 #define __ ACCESS_MASM(masm) |
241 | 252 |
242 | 253 |
243 static void EmitIdenticalObjectComparison(MacroAssembler* masm, | 254 static void EmitIdenticalObjectComparison(MacroAssembler* masm, |
244 Label* slow, | 255 Label* slow, |
245 Condition cond); | 256 Condition cond); |
246 static void EmitSmiNonsmiComparison(MacroAssembler* masm, | 257 static void EmitSmiNonsmiComparison(MacroAssembler* masm, |
247 Register lhs, | 258 Register lhs, |
248 Register rhs, | 259 Register rhs, |
249 Label* lhs_not_nan, | 260 Label* lhs_not_nan, |
(...skipping 6916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7166 __ bind(&fast_elements_case); | 7177 __ bind(&fast_elements_case); |
7167 GenerateCase(masm, FAST_ELEMENTS); | 7178 GenerateCase(masm, FAST_ELEMENTS); |
7168 } | 7179 } |
7169 | 7180 |
7170 | 7181 |
7171 #undef __ | 7182 #undef __ |
7172 | 7183 |
7173 } } // namespace v8::internal | 7184 } } // namespace v8::internal |
7174 | 7185 |
7175 #endif // V8_TARGET_ARCH_ARM | 7186 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |