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

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

Issue 2754003: Add logic from KeyedLoadIC generic stub to KeyedCallIC megamorphic stub.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/ic.cc ('k') | test/mjsunit/keyed-call-generic.js » ('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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 SC(gc_compactor_caused_by_weak_handles, \ 119 SC(gc_compactor_caused_by_weak_handles, \
120 V8.GCCompactorCausedByWeakHandles) \ 120 V8.GCCompactorCausedByWeakHandles) \
121 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ 121 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
122 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ 122 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
123 /* How is the generic keyed-load stub used? */ \ 123 /* How is the generic keyed-load stub used? */ \
124 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ 124 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \
125 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ 125 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \
126 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ 126 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \
127 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ 127 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \
128 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ 128 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \
129 /* How is the generic keyed-call stub used? */ \
130 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \
131 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \
132 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \
133 SC(keyed_call_generic_lookup_dict, V8.KeyedCallGenericLookupDict) \
134 SC(keyed_call_generic_value_type, V8.KeyedCallGenericValueType) \
135 SC(keyed_call_generic_slow, V8.KeyedCallGenericSlow) \
136 SC(keyed_call_generic_slow_load, V8.KeyedCallGenericSlowLoad) \
129 /* Count how much the monomorphic keyed-load stubs are hit. */ \ 137 /* Count how much the monomorphic keyed-load stubs are hit. */ \
130 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ 138 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \
131 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ 139 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \
132 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ 140 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \
133 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ 141 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \
134 SC(keyed_load_field, V8.KeyedLoadField) \ 142 SC(keyed_load_field, V8.KeyedLoadField) \
135 SC(keyed_load_callback, V8.KeyedLoadCallback) \ 143 SC(keyed_load_callback, V8.KeyedLoadCallback) \
136 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ 144 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \
137 SC(keyed_load_inline, V8.KeyedLoadInline) \ 145 SC(keyed_load_inline, V8.KeyedLoadInline) \
138 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ 146 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 stats_counter_count 233 stats_counter_count
226 }; 234 };
227 235
228 // Sliding state window counters. 236 // Sliding state window counters.
229 static StatsCounter state_counters[]; 237 static StatsCounter state_counters[];
230 }; 238 };
231 239
232 } } // namespace v8::internal 240 } } // namespace v8::internal
233 241
234 #endif // V8_V8_COUNTERS_H_ 242 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | test/mjsunit/keyed-call-generic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698