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

Side by Side Diff: src/builtins.h

Issue 12079024: Tag previously GENERIC stubs that potentially IC_Miss as MONOMORPHIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Replace explicit stub-check with != GENERIC check. Created 7 years, 10 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/ic.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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 Code::kNoExtraICState) \ 138 Code::kNoExtraICState) \
139 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \ 139 V(LoadIC_Getter_ForDeopt, LOAD_IC, MONOMORPHIC, \
140 Code::kNoExtraICState) \ 140 Code::kNoExtraICState) \
141 \ 141 \
142 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \ 142 V(KeyedLoadIC_Initialize, KEYED_LOAD_IC, UNINITIALIZED, \
143 Code::kNoExtraICState) \ 143 Code::kNoExtraICState) \
144 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \ 144 V(KeyedLoadIC_PreMonomorphic, KEYED_LOAD_IC, PREMONOMORPHIC, \
145 Code::kNoExtraICState) \ 145 Code::kNoExtraICState) \
146 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \ 146 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, GENERIC, \
147 Code::kNoExtraICState) \ 147 Code::kNoExtraICState) \
148 V(KeyedLoadIC_String, KEYED_LOAD_IC, GENERIC, \ 148 V(KeyedLoadIC_String, KEYED_LOAD_IC, MONOMORPHIC, \
149 Code::kNoExtraICState) \ 149 Code::kNoExtraICState) \
150 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, GENERIC, \ 150 V(KeyedLoadIC_IndexedInterceptor, KEYED_LOAD_IC, MONOMORPHIC, \
151 Code::kNoExtraICState) \ 151 Code::kNoExtraICState) \
152 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, GENERIC, \ 152 V(KeyedLoadIC_NonStrictArguments, KEYED_LOAD_IC, MONOMORPHIC, \
153 Code::kNoExtraICState) \ 153 Code::kNoExtraICState) \
154 \ 154 \
155 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \ 155 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED, \
156 Code::kNoExtraICState) \ 156 Code::kNoExtraICState) \
157 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \ 157 V(StoreIC_Normal, STORE_IC, MONOMORPHIC, \
158 Code::kNoExtraICState) \ 158 Code::kNoExtraICState) \
159 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \ 159 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC, \
160 Code::kNoExtraICState) \ 160 Code::kNoExtraICState) \
161 V(StoreIC_GlobalProxy, STORE_IC, GENERIC, \ 161 V(StoreIC_GlobalProxy, STORE_IC, GENERIC, \
162 Code::kNoExtraICState) \ 162 Code::kNoExtraICState) \
(...skipping 10 matching lines...) Expand all
173 \ 173 \
174 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \ 174 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED, \
175 Code::kNoExtraICState) \ 175 Code::kNoExtraICState) \
176 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \ 176 V(KeyedStoreIC_Generic, KEYED_STORE_IC, GENERIC, \
177 Code::kNoExtraICState) \ 177 Code::kNoExtraICState) \
178 \ 178 \
179 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ 179 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \
180 kStrictMode) \ 180 kStrictMode) \
181 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \ 181 V(KeyedStoreIC_Generic_Strict, KEYED_STORE_IC, GENERIC, \
182 kStrictMode) \ 182 kStrictMode) \
183 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, GENERIC, \ 183 V(KeyedStoreIC_NonStrictArguments, KEYED_STORE_IC, MONOMORPHIC, \
184 Code::kNoExtraICState) \ 184 Code::kNoExtraICState) \
185 V(TransitionElementsSmiToDouble, BUILTIN, UNINITIALIZED, \ 185 V(TransitionElementsSmiToDouble, BUILTIN, UNINITIALIZED, \
186 Code::kNoExtraICState) \ 186 Code::kNoExtraICState) \
187 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \ 187 V(TransitionElementsDoubleToObject, BUILTIN, UNINITIALIZED, \
188 Code::kNoExtraICState) \ 188 Code::kNoExtraICState) \
189 \ 189 \
190 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 190 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
191 V(FunctionCall, BUILTIN, UNINITIALIZED, \ 191 V(FunctionCall, BUILTIN, UNINITIALIZED, \
192 Code::kNoExtraICState) \ 192 Code::kNoExtraICState) \
193 V(FunctionApply, BUILTIN, UNINITIALIZED, \ 193 V(FunctionApply, BUILTIN, UNINITIALIZED, \
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 403
404 friend class BuiltinFunctionTable; 404 friend class BuiltinFunctionTable;
405 friend class Isolate; 405 friend class Isolate;
406 406
407 DISALLOW_COPY_AND_ASSIGN(Builtins); 407 DISALLOW_COPY_AND_ASSIGN(Builtins);
408 }; 408 };
409 409
410 } } // namespace v8::internal 410 } } // namespace v8::internal
411 411
412 #endif // V8_BUILTINS_H_ 412 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698