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 27 matching lines...) Expand all Loading... |
38 namespace v8 { | 38 namespace v8 { |
39 namespace internal { | 39 namespace internal { |
40 | 40 |
41 | 41 |
42 void KeyedLoadFastElementStub::InitializeInterfaceDescriptor( | 42 void KeyedLoadFastElementStub::InitializeInterfaceDescriptor( |
43 Isolate* isolate, | 43 Isolate* isolate, |
44 CodeStubInterfaceDescriptor* descriptor) { | 44 CodeStubInterfaceDescriptor* descriptor) { |
45 static Register registers[] = { rdx, rax }; | 45 static Register registers[] = { rdx, rax }; |
46 descriptor->register_param_count_ = 2; | 46 descriptor->register_param_count_ = 2; |
47 descriptor->register_params_ = registers; | 47 descriptor->register_params_ = registers; |
48 descriptor->stack_parameter_count_ = NULL; | |
49 descriptor->deoptimization_handler_ = | 48 descriptor->deoptimization_handler_ = |
50 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); | 49 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
51 } | 50 } |
52 | 51 |
53 | 52 |
54 void TransitionElementsKindStub::InitializeInterfaceDescriptor( | 53 void TransitionElementsKindStub::InitializeInterfaceDescriptor( |
55 Isolate* isolate, | 54 Isolate* isolate, |
56 CodeStubInterfaceDescriptor* descriptor) { | 55 CodeStubInterfaceDescriptor* descriptor) { |
57 static Register registers[] = { rax, rbx }; | 56 static Register registers[] = { rax, rbx }; |
58 descriptor->register_param_count_ = 2; | 57 descriptor->register_param_count_ = 2; |
(...skipping 6653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6712 #endif | 6711 #endif |
6713 | 6712 |
6714 __ Ret(); | 6713 __ Ret(); |
6715 } | 6714 } |
6716 | 6715 |
6717 #undef __ | 6716 #undef __ |
6718 | 6717 |
6719 } } // namespace v8::internal | 6718 } } // namespace v8::internal |
6720 | 6719 |
6721 #endif // V8_TARGET_ARCH_X64 | 6720 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |