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

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

Issue 10163003: Put new global var semantics behind a flag until WebKit tests are cleaned up. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments (and oops, rebased too early). Created 8 years, 8 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 | « no previous file | src/runtime.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 // 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) 125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt)
126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) 126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt)
127 127
128 // 128 //
129 // Flags in all modes. 129 // Flags in all modes.
130 // 130 //
131 #define FLAG FLAG_FULL 131 #define FLAG FLAG_FULL
132 132
133 // Flags for language modes and experimental language features. 133 // Flags for language modes and experimental language features.
134 DEFINE_bool(use_strict, false, "enforce strict mode") 134 DEFINE_bool(use_strict, false, "enforce strict mode")
135 DEFINE_bool(es52_globals, false,
136 "activate new semantics for global var declarations")
135 137
136 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 138 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
137 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 139 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
138 DEFINE_bool(harmony_modules, false, 140 DEFINE_bool(harmony_modules, false,
139 "enable harmony modules (implies block scoping)") 141 "enable harmony modules (implies block scoping)")
140 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 142 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
141 DEFINE_bool(harmony_collections, false, 143 DEFINE_bool(harmony_collections, false,
142 "enable harmony collections (sets, maps, and weak maps)") 144 "enable harmony collections (sets, maps, and weak maps)")
143 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 145 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
144 DEFINE_implication(harmony, harmony_scoping) 146 DEFINE_implication(harmony, harmony_scoping)
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 #undef DEFINE_bool 651 #undef DEFINE_bool
650 #undef DEFINE_int 652 #undef DEFINE_int
651 #undef DEFINE_string 653 #undef DEFINE_string
652 #undef DEFINE_implication 654 #undef DEFINE_implication
653 655
654 #undef FLAG_MODE_DECLARE 656 #undef FLAG_MODE_DECLARE
655 #undef FLAG_MODE_DEFINE 657 #undef FLAG_MODE_DEFINE
656 #undef FLAG_MODE_DEFINE_DEFAULTS 658 #undef FLAG_MODE_DEFINE_DEFAULTS
657 #undef FLAG_MODE_META 659 #undef FLAG_MODE_META
658 #undef FLAG_MODE_DEFINE_IMPLICATIONS 660 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698