OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 static Register registers[] = { rax }; | 239 static Register registers[] = { rax }; |
240 descriptor->register_param_count_ = 1; | 240 descriptor->register_param_count_ = 1; |
241 descriptor->register_params_ = registers; | 241 descriptor->register_params_ = registers; |
242 descriptor->deoptimization_handler_ = | 242 descriptor->deoptimization_handler_ = |
243 FUNCTION_ADDR(ToBooleanIC_Miss); | 243 FUNCTION_ADDR(ToBooleanIC_Miss); |
244 descriptor->SetMissHandler( | 244 descriptor->SetMissHandler( |
245 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate)); | 245 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate)); |
246 } | 246 } |
247 | 247 |
248 | 248 |
249 void UnaryOpStub::InitializeInterfaceDescriptor( | |
250 Isolate* isolate, | |
251 CodeStubInterfaceDescriptor* descriptor) { | |
252 static Register registers[] = { rax }; | |
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[] = { rdx, rcx, rax }; | 252 static Register registers[] = { rdx, rcx, rax }; |
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 6541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6811 __ bind(&fast_elements_case); | 6800 __ bind(&fast_elements_case); |
6812 GenerateCase(masm, FAST_ELEMENTS); | 6801 GenerateCase(masm, FAST_ELEMENTS); |
6813 } | 6802 } |
6814 | 6803 |
6815 | 6804 |
6816 #undef __ | 6805 #undef __ |
6817 | 6806 |
6818 } } // namespace v8::internal | 6807 } } // namespace v8::internal |
6819 | 6808 |
6820 #endif // V8_TARGET_ARCH_X64 | 6809 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |