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

Side by Side Diff: src/counters.h

Issue 1335193002: [builtins] Simplify String constructor code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Jaro's comments. Created 5 years, 3 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/arm64/macro-assembler-arm64.cc ('k') | src/ia32/builtins-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 SC(number_of_symbols, V8.NumberOfSymbols) \ 564 SC(number_of_symbols, V8.NumberOfSymbols) \
565 SC(script_wrappers, V8.ScriptWrappers) \ 565 SC(script_wrappers, V8.ScriptWrappers) \
566 SC(call_initialize_stubs, V8.CallInitializeStubs) \ 566 SC(call_initialize_stubs, V8.CallInitializeStubs) \
567 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ 567 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \
568 SC(call_normal_stubs, V8.CallNormalStubs) \ 568 SC(call_normal_stubs, V8.CallNormalStubs) \
569 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ 569 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \
570 SC(inlined_copied_elements, V8.InlinedCopiedElements) \ 570 SC(inlined_copied_elements, V8.InlinedCopiedElements) \
571 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ 571 SC(arguments_adaptors, V8.ArgumentsAdaptors) \
572 SC(compilation_cache_hits, V8.CompilationCacheHits) \ 572 SC(compilation_cache_hits, V8.CompilationCacheHits) \
573 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ 573 SC(compilation_cache_misses, V8.CompilationCacheMisses) \
574 SC(string_ctor_calls, V8.StringConstructorCalls) \
575 SC(string_ctor_conversions, V8.StringConstructorConversions) \
576 SC(string_ctor_cached_number, V8.StringConstructorCachedNumber) \
577 SC(string_ctor_string_value, V8.StringConstructorStringValue) \
578 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \
579 /* Amount of evaled source code. */ \ 574 /* Amount of evaled source code. */ \
580 SC(total_eval_size, V8.TotalEvalSize) \ 575 SC(total_eval_size, V8.TotalEvalSize) \
581 /* Amount of loaded source code. */ \ 576 /* Amount of loaded source code. */ \
582 SC(total_load_size, V8.TotalLoadSize) \ 577 SC(total_load_size, V8.TotalLoadSize) \
583 /* Amount of parsed source code. */ \ 578 /* Amount of parsed source code. */ \
584 SC(total_parse_size, V8.TotalParseSize) \ 579 SC(total_parse_size, V8.TotalParseSize) \
585 /* Amount of source code skipped over using preparsing. */ \ 580 /* Amount of source code skipped over using preparsing. */ \
586 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ 581 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \
587 /* Number of symbol lookups skipped using preparsing */ \ 582 /* Number of symbol lookups skipped using preparsing */ \
588 SC(total_preparse_symbols_skipped, V8.TotalPreparseSymbolSkipped) \ 583 SC(total_preparse_symbols_skipped, V8.TotalPreparseSymbolSkipped) \
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 friend class Isolate; 882 friend class Isolate;
888 883
889 explicit Counters(Isolate* isolate); 884 explicit Counters(Isolate* isolate);
890 885
891 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 886 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
892 }; 887 };
893 888
894 } } // namespace v8::internal 889 } } // namespace v8::internal
895 890
896 #endif // V8_COUNTERS_H_ 891 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698