OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 Code::kNoExtraICState) \ | 144 Code::kNoExtraICState) \ |
145 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \ | 145 V(LoadIC_Megamorphic, LOAD_IC, MEGAMORPHIC, \ |
146 Code::kNoExtraICState) \ | 146 Code::kNoExtraICState) \ |
147 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ | 147 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ |
148 Code::kNoExtraICState) \ | 148 Code::kNoExtraICState) \ |
149 \ | 149 \ |
150 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ | 150 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ |
151 Code::kNoExtraICState) \ | 151 Code::kNoExtraICState) \ |
152 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ | 152 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ |
153 Code::kNoExtraICState) \ | 153 Code::kNoExtraICState) \ |
154 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC, \ | 154 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \ |
155 Code::kNoExtraICState) \ | 155 Code::kNoExtraICState) \ |
156 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \ | 156 V(KeyedLoadIC_String, KEYED_LOAD_IC, GENERIC, \ |
157 Code::kNoExtraICState) \ | 157 Code::kNoExtraICState) \ |
158 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MEGAMORPHIC, \ | 158 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, GENERIC, \ |
159 Code::kNoExtraICState) \ | 159 Code::kNoExtraICState) \ |
160 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MEGAMORPHIC, \ | 160 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, GENERIC, \ |
161 Code::kNoExtraICState) \ | 161 Code::kNoExtraICState) \ |
162 \ | 162 \ |
163 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \ | 163 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \ |
164 Code::kNoExtraICState) \ | 164 Code::kNoExtraICState) \ |
165 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC, \ | 165 V(StoreIC_ArrayLength, STORE_IC, MONOMORPHIC, \ |
166 Code::kNoExtraICState) \ | 166 Code::kNoExtraICState) \ |
167 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \ | 167 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \ |
168 Code::kNoExtraICState) \ | 168 Code::kNoExtraICState) \ |
169 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ | 169 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ |
170 Code::kNoExtraICState) \ | 170 Code::kNoExtraICState) \ |
171 V(StoreIC_GlobalProxy, STORE_IC, MEGAMORPHIC, \ | 171 V(StoreIC_GlobalProxy, STORE_IC, GENERIC, \ |
172 Code::kNoExtraICState) \ | 172 Code::kNoExtraICState) \ |
173 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ | 173 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ |
174 kStrictMode) \ | 174 kStrictMode) \ |
175 V(StoreIC_ArrayLength_Strict, STORE_IC, MONOMORPHIC, \ | 175 V(StoreIC_ArrayLength_Strict, STORE_IC, MONOMORPHIC, \ |
176 kStrictMode) \ | 176 kStrictMode) \ |
177 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \ | 177 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \ |
178 kStrictMode) \ | 178 kStrictMode) \ |
179 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ | 179 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ |
180 kStrictMode) \ | 180 kStrictMode) \ |
181 V(StoreIC_GlobalProxy_Strict, STORE_IC, MEGAMORPHIC, \ | 181 V(StoreIC_GlobalProxy_Strict, STORE_IC, GENERIC, \ |
182 kStrictMode) \ | 182 kStrictMode) \ |
183 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ | 183 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ |
184 kStrictMode) \ | 184 kStrictMode) \ |
185 \ | 185 \ |
186 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ | 186 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ |
187 Code::kNoExtraICState) \ | 187 Code::kNoExtraICState) \ |
188 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC, \ | 188 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \ |
189 Code::kNoExtraICState) \ | 189 Code::kNoExtraICState) \ |
190 \ | 190 \ |
191 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ | 191 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ |
192 kStrictMode) \ | 192 kStrictMode) \ |
193 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ | 193 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \ |
194 kStrictMode) \ | 194 kStrictMode) \ |
195 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MEGAMORPHIC, \ | 195 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, GENERIC, \ |
196 Code::kNoExtraICState) \ | 196 Code::kNoExtraICState) \ |
197 V(TransitionElementsSmiToDouble, BUILTIN, UNINITIALIZED, \ | 197 V(TransitionElementsSmiToDouble, BUILTIN, UNINITIALIZED, \ |
198 Code::kNoExtraICState) \ | 198 Code::kNoExtraICState) \ |
199 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \ | 199 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \ |
200 Code::kNoExtraICState) \ | 200 Code::kNoExtraICState) \ |
201 \ | 201 \ |
202 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ | 202 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ |
203 V(FunctionCall, BUILTIN, UNINITIALIZED, \ | 203 V(FunctionCall, BUILTIN, UNINITIALIZED, \ |
204 Code::kNoExtraICState) \ | 204 Code::kNoExtraICState) \ |
205 V(FunctionApply, BUILTIN, UNINITIALIZED, \ | 205 V(FunctionApply, BUILTIN, UNINITIALIZED, \ |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 | 415 |
416 friend class BuiltinFunctionTable; | 416 friend class BuiltinFunctionTable; |
417 friend class Isolate; | 417 friend class Isolate; |
418 | 418 |
419 DISALLOW_COPY_AND_ASSIGN(Builtins); | 419 DISALLOW_COPY_AND_ASSIGN(Builtins); |
420 }; | 420 }; |
421 | 421 |
422 } } // namespace v8::internal | 422 } } // namespace v8::internal |
423 | 423 |
424 #endif // V8_BUILTINS_H_ | 424 #endif // V8_BUILTINS_H_ |
OLD | NEW |