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

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

Issue 8226017: Introduce collective --harmony flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) 91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt)
92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) 92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt)
93 93
94 // 94 //
95 // Flags in all modes. 95 // Flags in all modes.
96 // 96 //
97 #define FLAG FLAG_FULL 97 #define FLAG FLAG_FULL
98 98
99 // Flags for experimental language features. 99 // Flags for experimental language features.
100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
101 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
101 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 102 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
102 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") 103 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps")
103 DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping") 104 DEFINE_bool(harmony, false, "enable all harmony features")
104 105
105 // Flags for experimental implementation features. 106 // Flags for experimental implementation features.
106 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 107 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
107 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") 108 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values")
108 DEFINE_bool(string_slices, false, "use string slices") 109 DEFINE_bool(string_slices, false, "use string slices")
109 110
110 DEFINE_bool(clever_optimizations, 111 DEFINE_bool(clever_optimizations,
111 true, 112 true,
112 "Optimize object size, Array shift, DOM strings and string +") 113 "Optimize object size, Array shift, DOM strings and string +")
113 114
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 #undef FLAG 540 #undef FLAG
540 541
541 #undef DEFINE_bool 542 #undef DEFINE_bool
542 #undef DEFINE_int 543 #undef DEFINE_int
543 #undef DEFINE_string 544 #undef DEFINE_string
544 545
545 #undef FLAG_MODE_DECLARE 546 #undef FLAG_MODE_DECLARE
546 #undef FLAG_MODE_DEFINE 547 #undef FLAG_MODE_DEFINE
547 #undef FLAG_MODE_DEFINE_DEFAULTS 548 #undef FLAG_MODE_DEFINE_DEFAULTS
548 #undef FLAG_MODE_META 549 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | src/v8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698