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

Side by Side Diff: src/ic.h

Issue 491004: Reapply keyed load cache probing in generated code. I introduced a... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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 | « src/ia32/ic-ia32.cc ('k') | src/serialize.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_IC_H_ 28 #ifndef V8_IC_H_
29 #define V8_IC_H_ 29 #define V8_IC_H_
30 30
31 #include "assembler.h" 31 #include "assembler.h"
32 32
33 namespace v8 { 33 namespace v8 {
34 namespace internal { 34 namespace internal {
35 35
36 // Flag indicating whether an IC stub needs to check that a backing
37 // store is in dictionary case.
38 enum DictionaryCheck { CHECK_DICTIONARY, DICTIONARY_CHECK_DONE };
39
40
36 // IC_UTIL_LIST defines all utility functions called from generated 41 // IC_UTIL_LIST defines all utility functions called from generated
37 // inline caching code. The argument for the macro, ICU, is the function name. 42 // inline caching code. The argument for the macro, ICU, is the function name.
38 #define IC_UTIL_LIST(ICU) \ 43 #define IC_UTIL_LIST(ICU) \
39 ICU(LoadIC_Miss) \ 44 ICU(LoadIC_Miss) \
40 ICU(KeyedLoadIC_Miss) \ 45 ICU(KeyedLoadIC_Miss) \
41 ICU(CallIC_Miss) \ 46 ICU(CallIC_Miss) \
42 ICU(StoreIC_Miss) \ 47 ICU(StoreIC_Miss) \
43 ICU(SharedStoreIC_ExtendStorage) \ 48 ICU(SharedStoreIC_ExtendStorage) \
44 ICU(KeyedStoreIC_Miss) \ 49 ICU(KeyedStoreIC_Miss) \
45 /* Utilities for IC stubs. */ \ 50 /* Utilities for IC stubs. */ \
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // The map is the new map that the inlined code should check against. 416 // The map is the new map that the inlined code should check against.
412 static bool PatchInlinedStore(Address address, Object* map); 417 static bool PatchInlinedStore(Address address, Object* map);
413 418
414 friend class IC; 419 friend class IC;
415 }; 420 };
416 421
417 422
418 } } // namespace v8::internal 423 } } // namespace v8::internal
419 424
420 #endif // V8_IC_H_ 425 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698