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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 } | 239 } |
240 | 240 |
241 | 241 |
242 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 242 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
243 Isolate* isolate, | 243 Isolate* isolate, |
244 CodeStubInterfaceDescriptor* descriptor) { | 244 CodeStubInterfaceDescriptor* descriptor) { |
245 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1); | 245 InitializeInternalArrayConstructorDescriptor(isolate, descriptor, -1); |
246 } | 246 } |
247 | 247 |
248 | 248 |
249 void UnaryOpStub::InitializeInterfaceDescriptor( | |
250 Isolate* isolate, | |
251 CodeStubInterfaceDescriptor* descriptor) { | |
252 static Register registers[] = { r0 }; | |
253 descriptor->register_param_count_ = 1; | |
254 descriptor->register_params_ = registers; | |
255 descriptor->deoptimization_handler_ = | |
256 FUNCTION_ADDR(UnaryOpIC_Miss); | |
257 } | |
258 | |
259 | |
260 void StoreGlobalStub::InitializeInterfaceDescriptor( | 249 void StoreGlobalStub::InitializeInterfaceDescriptor( |
261 Isolate* isolate, | 250 Isolate* isolate, |
262 CodeStubInterfaceDescriptor* descriptor) { | 251 CodeStubInterfaceDescriptor* descriptor) { |
263 static Register registers[] = { r1, r2, r0 }; | 252 static Register registers[] = { r1, r2, r0 }; |
264 descriptor->register_param_count_ = 3; | 253 descriptor->register_param_count_ = 3; |
265 descriptor->register_params_ = registers; | 254 descriptor->register_params_ = registers; |
266 descriptor->deoptimization_handler_ = | 255 descriptor->deoptimization_handler_ = |
267 FUNCTION_ADDR(StoreIC_MissFromStubFailure); | 256 FUNCTION_ADDR(StoreIC_MissFromStubFailure); |
268 } | 257 } |
269 | 258 |
(...skipping 6904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7174 __ bind(&fast_elements_case); | 7163 __ bind(&fast_elements_case); |
7175 GenerateCase(masm, FAST_ELEMENTS); | 7164 GenerateCase(masm, FAST_ELEMENTS); |
7176 } | 7165 } |
7177 | 7166 |
7178 | 7167 |
7179 #undef __ | 7168 #undef __ |
7180 | 7169 |
7181 } } // namespace v8::internal | 7170 } } // namespace v8::internal |
7182 | 7171 |
7183 #endif // V8_TARGET_ARCH_ARM | 7172 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |