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

Side by Side Diff: src/flag-definitions.h

Issue 1422463004: Disable loads and stores to global vars through property cell shortcuts installed into parent scrip… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | test/cctest/interpreter/test-bytecode-generator.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 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 "Dump heap object allocations/movements/size_updates") 693 "Dump heap object allocations/movements/size_updates")
694 694
695 695
696 // v8.cc 696 // v8.cc
697 DEFINE_BOOL(use_idle_notification, true, 697 DEFINE_BOOL(use_idle_notification, true,
698 "Use idle notification to reduce memory footprint.") 698 "Use idle notification to reduce memory footprint.")
699 // ic.cc 699 // ic.cc
700 DEFINE_BOOL(use_ic, true, "use inline caching") 700 DEFINE_BOOL(use_ic, true, "use inline caching")
701 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") 701 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions")
702 DEFINE_BOOL(vector_stores, true, "use vectors for store ics") 702 DEFINE_BOOL(vector_stores, true, "use vectors for store ics")
703 DEFINE_BOOL(global_var_shortcuts, true, "use ic-less global loads and stores")
704 703
705 // macro-assembler-ia32.cc 704 // macro-assembler-ia32.cc
706 DEFINE_BOOL(native_code_counters, false, 705 DEFINE_BOOL(native_code_counters, false,
707 "generate extra code for manipulating stats counters") 706 "generate extra code for manipulating stats counters")
708 707
709 // mark-compact.cc 708 // mark-compact.cc
710 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") 709 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC")
711 DEFINE_BOOL(never_compact, false, 710 DEFINE_BOOL(never_compact, false,
712 "Never perform compaction on full GC - testing only") 711 "Never perform compaction on full GC - testing only")
713 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") 712 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections")
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 #define FLAG FLAG_READONLY 1075 #define FLAG FLAG_READONLY
1077 1076
1078 // assembler.h 1077 // assembler.h
1079 DEFINE_BOOL(enable_embedded_constant_pool, V8_EMBEDDED_CONSTANT_POOL, 1078 DEFINE_BOOL(enable_embedded_constant_pool, V8_EMBEDDED_CONSTANT_POOL,
1080 "enable use of embedded constant pools (ARM/PPC only)") 1079 "enable use of embedded constant pools (ARM/PPC only)")
1081 1080
1082 DEFINE_BOOL(unbox_double_fields, V8_DOUBLE_FIELDS_UNBOXING, 1081 DEFINE_BOOL(unbox_double_fields, V8_DOUBLE_FIELDS_UNBOXING,
1083 "enable in-object double fields unboxing (64-bit only)") 1082 "enable in-object double fields unboxing (64-bit only)")
1084 DEFINE_IMPLICATION(unbox_double_fields, track_double_fields) 1083 DEFINE_IMPLICATION(unbox_double_fields, track_double_fields)
1085 1084
1085 DEFINE_BOOL(global_var_shortcuts, false, "use ic-less global loads and stores")
1086
1086 1087
1087 // Cleanup... 1088 // Cleanup...
1088 #undef FLAG_FULL 1089 #undef FLAG_FULL
1089 #undef FLAG_READONLY 1090 #undef FLAG_READONLY
1090 #undef FLAG 1091 #undef FLAG
1091 #undef FLAG_ALIAS 1092 #undef FLAG_ALIAS
1092 1093
1093 #undef DEFINE_BOOL 1094 #undef DEFINE_BOOL
1094 #undef DEFINE_MAYBE_BOOL 1095 #undef DEFINE_MAYBE_BOOL
1095 #undef DEFINE_INT 1096 #undef DEFINE_INT
(...skipping 10 matching lines...) Expand all
1106 #undef DEFINE_ALIAS_FLOAT 1107 #undef DEFINE_ALIAS_FLOAT
1107 #undef DEFINE_ALIAS_ARGS 1108 #undef DEFINE_ALIAS_ARGS
1108 1109
1109 #undef FLAG_MODE_DECLARE 1110 #undef FLAG_MODE_DECLARE
1110 #undef FLAG_MODE_DEFINE 1111 #undef FLAG_MODE_DEFINE
1111 #undef FLAG_MODE_DEFINE_DEFAULTS 1112 #undef FLAG_MODE_DEFINE_DEFAULTS
1112 #undef FLAG_MODE_META 1113 #undef FLAG_MODE_META
1113 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1114 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1114 1115
1115 #undef COMMA 1116 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698