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

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

Issue 3537003: Use existing global cell status as a hint when generating loads. (Closed)
Patch Set: added GC test Created 10 years, 2 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
« no previous file with comments | « src/ic.cc ('k') | src/x64/ic-x64.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 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ 154 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \
155 SC(keyed_load_field, V8.KeyedLoadField) \ 155 SC(keyed_load_field, V8.KeyedLoadField) \
156 SC(keyed_load_callback, V8.KeyedLoadCallback) \ 156 SC(keyed_load_callback, V8.KeyedLoadCallback) \
157 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ 157 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \
158 SC(keyed_load_inline, V8.KeyedLoadInline) \ 158 SC(keyed_load_inline, V8.KeyedLoadInline) \
159 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ 159 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \
160 SC(named_load_inline, V8.NamedLoadInline) \ 160 SC(named_load_inline, V8.NamedLoadInline) \
161 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ 161 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \
162 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ 162 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \
163 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ 163 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \
164 SC(dont_delete_hint_hit, V8.DontDeleteHintHit) \
165 SC(dont_delete_hint_miss, V8.DontDeleteHintMiss) \
164 SC(named_load_global_stub, V8.NamedLoadGlobalStub) \ 166 SC(named_load_global_stub, V8.NamedLoadGlobalStub) \
165 SC(named_load_global_stub_miss, V8.NamedLoadGlobalStubMiss) \ 167 SC(named_load_global_stub_miss, V8.NamedLoadGlobalStubMiss) \
166 SC(keyed_store_field, V8.KeyedStoreField) \ 168 SC(keyed_store_field, V8.KeyedStoreField) \
167 SC(keyed_store_inline, V8.KeyedStoreInline) \ 169 SC(keyed_store_inline, V8.KeyedStoreInline) \
168 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ 170 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \
169 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ 171 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \
170 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ 172 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \
171 SC(store_normal_miss, V8.StoreNormalMiss) \ 173 SC(store_normal_miss, V8.StoreNormalMiss) \
172 SC(store_normal_hit, V8.StoreNormalHit) \ 174 SC(store_normal_hit, V8.StoreNormalHit) \
173 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \ 175 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 stats_counter_count 262 stats_counter_count
261 }; 263 };
262 264
263 // Sliding state window counters. 265 // Sliding state window counters.
264 static StatsCounter state_counters[]; 266 static StatsCounter state_counters[];
265 }; 267 };
266 268
267 } } // namespace v8::internal 269 } } // namespace v8::internal
268 270
269 #endif // V8_V8_COUNTERS_H_ 271 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698