Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/builtins.h

Issue 23442016: Add premonomorphic store ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 Code::kNoExtraICState) \ 155 Code::kNoExtraICState) \
156 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \ 156 V(KeyedLoadIC_String, KEYED_LOAD_IC, MEGAMORPHIC, \
157 Code::kNoExtraICState) \ 157 Code::kNoExtraICState) \
158 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \ 158 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \
159 Code::kNoExtraICState) \ 159 Code::kNoExtraICState) \
160 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MONOMORPHIC, \ 160 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MONOMORPHIC, \
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_PreMonomorphic, STORE_IC, PREMONOMORPHIC, \
166 Code::kNoExtraICState) \
165 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \ 167 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \
166 Code::kNoExtraICState) \ 168 Code::kNoExtraICState) \
167 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ 169 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \
168 Code::kNoExtraICState) \ 170 Code::kNoExtraICState) \
169 V(StoreIC_Generic, STORE_IC, GENERIC, \ 171 V(StoreIC_Generic, STORE_IC, GENERIC, \
170 Code::kNoExtraICState) \ 172 Code::kNoExtraICState) \
171 V(StoreIC_Generic_Strict, STORE_IC, GENERIC, \ 173 V(StoreIC_Generic_Strict, STORE_IC, GENERIC, \
172 kStrictMode) \ 174 kStrictMode) \
173 V(StoreIC_GlobalProxy, STORE_IC, GENERIC, \ 175 V(StoreIC_GlobalProxy, STORE_IC, GENERIC, \
174 Code::kNoExtraICState) \ 176 Code::kNoExtraICState) \
175 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \ 177 V(StoreIC_Initialize_Strict, STORE_IC, UNINITIALIZED, \
176 kStrictMode) \ 178 kStrictMode) \
179 V(StoreIC_PreMonomorphic_Strict, STORE_IC, PREMONOMORPHIC, \
180 kStrictMode) \
177 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \ 181 V(StoreIC_Normal_Strict, STORE_IC, MONOMORPHIC, \
178 kStrictMode) \ 182 kStrictMode) \
179 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \ 183 V(StoreIC_Megamorphic_Strict, STORE_IC, MEGAMORPHIC, \
180 kStrictMode) \ 184 kStrictMode) \
181 V(StoreIC_GlobalProxy_Strict, STORE_IC, GENERIC, \ 185 V(StoreIC_GlobalProxy_Strict, STORE_IC, GENERIC, \
182 kStrictMode) \ 186 kStrictMode) \
183 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \ 187 V(StoreIC_Setter_ForDeopt, STORE_IC, MONOMORPHIC, \
184 kStrictMode) \ 188 kStrictMode) \
185 \ 189 \
186 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ 190 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \
187 Code::kNoExtraICState) \ 191 Code::kNoExtraICState) \
192 V(KeyedStoreIC_PreMonomorphic, KEYED_STORE_IC, PREMONOMORPHIC, \
193 Code::kNoExtraICState) \
188 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \ 194 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \
189 Code::kNoExtraICState) \ 195 Code::kNoExtraICState) \
190 \ 196 \
191 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ 197 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \
192 kStrictMode) \ 198 kStrictMode) \
199 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \
200 kStrictMode) \
193 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \ 201 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \
194 kStrictMode) \ 202 kStrictMode) \
195 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MONOMORPHIC, \ 203 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MONOMORPHIC, \
196 Code::kNoExtraICState) \ 204 Code::kNoExtraICState) \
197 \ 205 \
198 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 206 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
199 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 207 V(FunctionCall, BUILTIN, UNINITIALIZED, \
200 Code::kNoExtraICState) \ 208 Code::kNoExtraICState) \
201 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 209 V(FunctionApply, BUILTIN, UNINITIALIZED, \
202 Code::kNoExtraICState) \ 210 Code::kNoExtraICState) \
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 424
417 friend class BuiltinFunctionTable; 425 friend class BuiltinFunctionTable;
418 friend class Isolate; 426 friend class Isolate;
419 427
420 DISALLOW_COPY_AND_ASSIGN(Builtins); 428 DISALLOW_COPY_AND_ASSIGN(Builtins);
421 }; 429 };
422 430
423 } } // namespace v8::internal 431 } } // namespace v8::internal
424 432
425 #endif // V8_BUILTINS_H_ 433 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698