OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 void RegExpConstructResultStub::InitializeInterfaceDescriptor( | 87 void RegExpConstructResultStub::InitializeInterfaceDescriptor( |
88 CodeStubInterfaceDescriptor* descriptor) { | 88 CodeStubInterfaceDescriptor* descriptor) { |
89 Register registers[] = { ecx, ebx, eax }; | 89 Register registers[] = { ecx, ebx, eax }; |
90 descriptor->Initialize( | 90 descriptor->Initialize( |
91 ARRAY_SIZE(registers), registers, | 91 ARRAY_SIZE(registers), registers, |
92 Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry); | 92 Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry); |
93 } | 93 } |
94 | 94 |
95 | 95 |
96 void LoadFieldStub::InitializeInterfaceDescriptor( | |
97 CodeStubInterfaceDescriptor* descriptor) { | |
98 Register registers[] = { edx }; | |
99 descriptor->Initialize(ARRAY_SIZE(registers), registers); | |
100 } | |
101 | |
102 | |
103 void KeyedLoadFieldStub::InitializeInterfaceDescriptor( | |
104 CodeStubInterfaceDescriptor* descriptor) { | |
105 Register registers[] = { edx }; | |
106 descriptor->Initialize(ARRAY_SIZE(registers), registers); | |
107 } | |
108 | |
109 | |
110 void StringLengthStub::InitializeInterfaceDescriptor( | |
111 CodeStubInterfaceDescriptor* descriptor) { | |
112 Register registers[] = { edx, ecx }; | |
113 descriptor->Initialize(ARRAY_SIZE(registers), registers); | |
114 } | |
115 | |
116 | |
117 void KeyedStringLengthStub::InitializeInterfaceDescriptor( | |
118 CodeStubInterfaceDescriptor* descriptor) { | |
119 Register registers[] = { edx, ecx }; | |
120 descriptor->Initialize(ARRAY_SIZE(registers), registers); | |
121 } | |
122 | |
123 | |
124 void KeyedStoreFastElementStub::InitializeInterfaceDescriptor( | 96 void KeyedStoreFastElementStub::InitializeInterfaceDescriptor( |
125 CodeStubInterfaceDescriptor* descriptor) { | 97 CodeStubInterfaceDescriptor* descriptor) { |
126 Register registers[] = { edx, ecx, eax }; | 98 Register registers[] = { edx, ecx, eax }; |
127 descriptor->Initialize( | 99 descriptor->Initialize( |
128 ARRAY_SIZE(registers), registers, | 100 ARRAY_SIZE(registers), registers, |
129 FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); | 101 FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
130 } | 102 } |
131 | 103 |
132 | 104 |
133 void TransitionElementsKindStub::InitializeInterfaceDescriptor( | 105 void TransitionElementsKindStub::InitializeInterfaceDescriptor( |
(...skipping 4883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5017 Operand(ebp, 7 * kPointerSize), | 4989 Operand(ebp, 7 * kPointerSize), |
5018 NULL); | 4990 NULL); |
5019 } | 4991 } |
5020 | 4992 |
5021 | 4993 |
5022 #undef __ | 4994 #undef __ |
5023 | 4995 |
5024 } } // namespace v8::internal | 4996 } } // namespace v8::internal |
5025 | 4997 |
5026 #endif // V8_TARGET_ARCH_IA32 | 4998 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |