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/flag-definitions.h

Issue 8404030: Version 3.7.1 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month 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/factory.cc ('k') | src/frames.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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_scoping, false, "enable harmony block scoping")
102 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 102 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
103 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") 103 DEFINE_bool(harmony_collections, false,
104 "enable harmony collections (sets, maps, and weak maps)")
104 DEFINE_bool(harmony, false, "enable all harmony features") 105 DEFINE_bool(harmony, false, "enable all harmony features")
105 106
106 // Flags for experimental implementation features. 107 // Flags for experimental implementation features.
107 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 108 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
108 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") 109 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values")
109 DEFINE_bool(string_slices, true, "use string slices") 110 DEFINE_bool(string_slices, true, "use string slices")
110 111
111 DEFINE_bool(clever_optimizations, 112 DEFINE_bool(clever_optimizations,
112 true, 113 true,
113 "Optimize object size, Array shift, DOM strings and string +") 114 "Optimize object size, Array shift, DOM strings and string +")
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 DEFINE_bool(enable_fpu, true, 180 DEFINE_bool(enable_fpu, true,
180 "enable use of MIPS FPU instructions if available (MIPS only)") 181 "enable use of MIPS FPU instructions if available (MIPS only)")
181 182
182 // bootstrapper.cc 183 // bootstrapper.cc
183 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") 184 DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
184 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") 185 DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
185 DEFINE_bool(expose_gc, false, "expose gc extension") 186 DEFINE_bool(expose_gc, false, "expose gc extension")
186 DEFINE_bool(expose_externalize_string, false, 187 DEFINE_bool(expose_externalize_string, false,
187 "expose externalize string extension") 188 "expose externalize string extension")
188 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") 189 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
190 DEFINE_bool(builtins_in_stack_traces, false,
191 "show built-in functions in stack traces")
189 DEFINE_bool(disable_native_files, false, "disable builtin natives files") 192 DEFINE_bool(disable_native_files, false, "disable builtin natives files")
190 193
191 // builtins-ia32.cc 194 // builtins-ia32.cc
192 DEFINE_bool(inline_new, true, "use fast inline allocation") 195 DEFINE_bool(inline_new, true, "use fast inline allocation")
193 196
194 // checks.cc 197 // checks.cc
195 DEFINE_bool(stack_trace_on_abort, true, 198 DEFINE_bool(stack_trace_on_abort, true,
196 "print a stack trace if an assertion failure occurs") 199 "print a stack trace if an assertion failure occurs")
197 200
198 // codegen-ia32.cc / codegen-arm.cc 201 // codegen-ia32.cc / codegen-arm.cc
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 // 523 //
521 // Disassembler only flags 524 // Disassembler only flags
522 // 525 //
523 #undef FLAG 526 #undef FLAG
524 #ifdef ENABLE_DISASSEMBLER 527 #ifdef ENABLE_DISASSEMBLER
525 #define FLAG FLAG_FULL 528 #define FLAG FLAG_FULL
526 #else 529 #else
527 #define FLAG FLAG_READONLY 530 #define FLAG FLAG_READONLY
528 #endif 531 #endif
529 532
533 // elements.cc
534 DEFINE_bool(trace_elements_transitions, false, "trace elements transitions")
535
530 // code-stubs.cc 536 // code-stubs.cc
531 DEFINE_bool(print_code_stubs, false, "print code stubs") 537 DEFINE_bool(print_code_stubs, false, "print code stubs")
532 538
533 // codegen-ia32.cc / codegen-arm.cc 539 // codegen-ia32.cc / codegen-arm.cc
534 DEFINE_bool(print_code, false, "print generated code") 540 DEFINE_bool(print_code, false, "print generated code")
535 DEFINE_bool(print_opt_code, false, "print optimized code") 541 DEFINE_bool(print_opt_code, false, "print optimized code")
536 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " 542 DEFINE_bool(print_unopt_code, false, "print unoptimized code before "
537 "printing optimized code based on it") 543 "printing optimized code based on it")
538 DEFINE_bool(print_code_verbose, false, "print more information for code") 544 DEFINE_bool(print_code_verbose, false, "print more information for code")
539 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") 545 DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
540 546
541 // Cleanup... 547 // Cleanup...
542 #undef FLAG_FULL 548 #undef FLAG_FULL
543 #undef FLAG_READONLY 549 #undef FLAG_READONLY
544 #undef FLAG 550 #undef FLAG
545 551
546 #undef DEFINE_bool 552 #undef DEFINE_bool
547 #undef DEFINE_int 553 #undef DEFINE_int
548 #undef DEFINE_string 554 #undef DEFINE_string
549 555
550 #undef FLAG_MODE_DECLARE 556 #undef FLAG_MODE_DECLARE
551 #undef FLAG_MODE_DEFINE 557 #undef FLAG_MODE_DEFINE
552 #undef FLAG_MODE_DEFINE_DEFAULTS 558 #undef FLAG_MODE_DEFINE_DEFAULTS
553 #undef FLAG_MODE_META 559 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698