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

Side by Side Diff: src/v8-counters.h

Issue 122035: Inline keyed stores if the code is in a loop and the key is likely to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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 | « src/objects.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ 124 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \
125 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ 125 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \
126 SC(keyed_load_field, V8.KeyedLoadField) \ 126 SC(keyed_load_field, V8.KeyedLoadField) \
127 SC(keyed_load_callback, V8.KeyedLoadCallback) \ 127 SC(keyed_load_callback, V8.KeyedLoadCallback) \
128 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ 128 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \
129 SC(keyed_load_inline, V8.KeyedLoadInline) \ 129 SC(keyed_load_inline, V8.KeyedLoadInline) \
130 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ 130 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \
131 SC(named_load_inline, V8.NamedLoadInline) \ 131 SC(named_load_inline, V8.NamedLoadInline) \
132 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ 132 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \
133 SC(keyed_store_field, V8.KeyedStoreField) \ 133 SC(keyed_store_field, V8.KeyedStoreField) \
134 SC(keyed_store_inline, V8.KeyedStoreInline) \
135 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \
134 SC(for_in, V8.ForIn) \ 136 SC(for_in, V8.ForIn) \
135 SC(enum_cache_hits, V8.EnumCacheHits) \ 137 SC(enum_cache_hits, V8.EnumCacheHits) \
136 SC(enum_cache_misses, V8.EnumCacheMisses) \ 138 SC(enum_cache_misses, V8.EnumCacheMisses) \
137 SC(reloc_info_count, V8.RelocInfoCount) \ 139 SC(reloc_info_count, V8.RelocInfoCount) \
138 SC(reloc_info_size, V8.RelocInfoSize) \ 140 SC(reloc_info_size, V8.RelocInfoSize) \
139 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 141 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \
140 SC(compute_entry_frame, V8.ComputeEntryFrame) 142 SC(compute_entry_frame, V8.ComputeEntryFrame)
141 143
142 144
143 // This file contains all the v8 counters that are in use. 145 // This file contains all the v8 counters that are in use.
(...skipping 24 matching lines...) Expand all
168 stats_counter_count 170 stats_counter_count
169 }; 171 };
170 172
171 // Sliding state window counters. 173 // Sliding state window counters.
172 static StatsCounter state_counters[]; 174 static StatsCounter state_counters[];
173 }; 175 };
174 176
175 } } // namespace v8::internal 177 } } // namespace v8::internal
176 178
177 #endif // V8_V8_COUNTERS_H_ 179 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698