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

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

Issue 1444001: Some string optimizations: (Closed)
Patch Set: Review fix. Created 10 years, 9 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/objects-inl.h ('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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 SC(enum_cache_hits, V8.EnumCacheHits) \ 159 SC(enum_cache_hits, V8.EnumCacheHits) \
160 SC(enum_cache_misses, V8.EnumCacheMisses) \ 160 SC(enum_cache_misses, V8.EnumCacheMisses) \
161 SC(reloc_info_count, V8.RelocInfoCount) \ 161 SC(reloc_info_count, V8.RelocInfoCount) \
162 SC(reloc_info_size, V8.RelocInfoSize) \ 162 SC(reloc_info_size, V8.RelocInfoSize) \
163 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 163 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \
164 SC(compute_entry_frame, V8.ComputeEntryFrame) \ 164 SC(compute_entry_frame, V8.ComputeEntryFrame) \
165 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ 165 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \
166 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ 166 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \
167 SC(string_add_runtime, V8.StringAddRuntime) \ 167 SC(string_add_runtime, V8.StringAddRuntime) \
168 SC(string_add_native, V8.StringAddNative) \ 168 SC(string_add_native, V8.StringAddNative) \
169 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \
169 SC(sub_string_runtime, V8.SubStringRuntime) \ 170 SC(sub_string_runtime, V8.SubStringRuntime) \
170 SC(sub_string_native, V8.SubStringNative) \ 171 SC(sub_string_native, V8.SubStringNative) \
171 SC(string_compare_native, V8.StringCompareNative) \ 172 SC(string_compare_native, V8.StringCompareNative) \
172 SC(string_compare_runtime, V8.StringCompareRuntime) \ 173 SC(string_compare_runtime, V8.StringCompareRuntime) \
173 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ 174 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
174 SC(regexp_entry_native, V8.RegExpEntryNative) \ 175 SC(regexp_entry_native, V8.RegExpEntryNative) \
175 SC(number_to_string_native, V8.NumberToStringNative) \ 176 SC(number_to_string_native, V8.NumberToStringNative) \
176 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ 177 SC(number_to_string_runtime, V8.NumberToStringRuntime) \
177 SC(math_acos, V8.MathAcos) \ 178 SC(math_acos, V8.MathAcos) \
178 SC(math_asin, V8.MathAsin) \ 179 SC(math_asin, V8.MathAsin) \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 stats_counter_count 221 stats_counter_count
221 }; 222 };
222 223
223 // Sliding state window counters. 224 // Sliding state window counters.
224 static StatsCounter state_counters[]; 225 static StatsCounter state_counters[];
225 }; 226 };
226 227
227 } } // namespace v8::internal 228 } } // namespace v8::internal
228 229
229 #endif // V8_V8_COUNTERS_H_ 230 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698