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

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

Issue 6865013: Introduce experimental natives that are enabled by a runtime flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 9 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 | « src/extensions/experimental/experimental.gyp ('k') | src/natives.h » ('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 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt) 89 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt)
90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) 90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt)
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.
100 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
101
99 // Flags for Crankshaft. 102 // Flags for Crankshaft.
100 #ifdef V8_TARGET_ARCH_MIPS 103 #ifdef V8_TARGET_ARCH_MIPS
101 DEFINE_bool(crankshaft, false, "use crankshaft") 104 DEFINE_bool(crankshaft, false, "use crankshaft")
102 #else 105 #else
103 DEFINE_bool(crankshaft, true, "use crankshaft") 106 DEFINE_bool(crankshaft, true, "use crankshaft")
104 #endif 107 #endif
105 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") 108 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
106 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") 109 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation")
107 DEFINE_bool(build_lithium, true, "use lithium chunk builder") 110 DEFINE_bool(build_lithium, true, "use lithium chunk builder")
108 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") 111 DEFINE_bool(alloc_lithium, true, "use lithium register allocator")
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 #undef FLAG 551 #undef FLAG
549 552
550 #undef DEFINE_bool 553 #undef DEFINE_bool
551 #undef DEFINE_int 554 #undef DEFINE_int
552 #undef DEFINE_string 555 #undef DEFINE_string
553 556
554 #undef FLAG_MODE_DECLARE 557 #undef FLAG_MODE_DECLARE
555 #undef FLAG_MODE_DEFINE 558 #undef FLAG_MODE_DEFINE
556 #undef FLAG_MODE_DEFINE_DEFAULTS 559 #undef FLAG_MODE_DEFINE_DEFAULTS
557 #undef FLAG_MODE_META 560 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/extensions/experimental/experimental.gyp ('k') | src/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698