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

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

Issue 7535004: Merge bleeding edge up to 8774 into the GC branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 4 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/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_proxies, false, "enable harmony proxies") 100 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
101 101
102 // Flags for experimental implementation features. 102 // Flags for experimental implementation features.
103 DEFINE_bool(unbox_double_arrays, false, "automatically unbox arrays of doubles") 103 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
104 104
105 // Flags for Crankshaft. 105 // Flags for Crankshaft.
106 #ifdef V8_TARGET_ARCH_MIPS 106 #ifdef V8_TARGET_ARCH_MIPS
107 DEFINE_bool(crankshaft, false, "use crankshaft") 107 DEFINE_bool(crankshaft, false, "use crankshaft")
108 #else 108 #else
109 DEFINE_bool(crankshaft, true, "use crankshaft") 109 DEFINE_bool(crankshaft, true, "use crankshaft")
110 #endif 110 #endif
111 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") 111 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
112 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") 112 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation")
113 DEFINE_bool(build_lithium, true, "use lithium chunk builder") 113 DEFINE_bool(build_lithium, true, "use lithium chunk builder")
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 "print name of functions for which code is generated") 405 "print name of functions for which code is generated")
406 DEFINE_bool(print_source, false, "pretty print source code") 406 DEFINE_bool(print_source, false, "pretty print source code")
407 DEFINE_bool(print_builtin_source, false, 407 DEFINE_bool(print_builtin_source, false,
408 "pretty print source code for builtins") 408 "pretty print source code for builtins")
409 DEFINE_bool(print_ast, false, "print source AST") 409 DEFINE_bool(print_ast, false, "print source AST")
410 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") 410 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins")
411 DEFINE_bool(print_json_ast, false, "print source AST as JSON") 411 DEFINE_bool(print_json_ast, false, "print source AST as JSON")
412 DEFINE_bool(print_builtin_json_ast, false, 412 DEFINE_bool(print_builtin_json_ast, false,
413 "print source AST for builtins as JSON") 413 "print source AST for builtins as JSON")
414 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") 414 DEFINE_string(stop_at, "", "function name where to insert a breakpoint")
415 DEFINE_bool(verify_stack_height, false, "verify stack height tracing on ia32")
415 416
416 // compiler.cc 417 // compiler.cc
417 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") 418 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins")
418 DEFINE_bool(print_scopes, false, "print scopes") 419 DEFINE_bool(print_scopes, false, "print scopes")
419 420
420 // contexts.cc 421 // contexts.cc
421 DEFINE_bool(trace_contexts, false, "trace contexts operations") 422 DEFINE_bool(trace_contexts, false, "trace contexts operations")
422 423
423 // heap.cc 424 // heap.cc
424 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") 425 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations")
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 // Regexp 465 // Regexp
465 DEFINE_bool(regexp_possessive_quantifier, 466 DEFINE_bool(regexp_possessive_quantifier,
466 false, 467 false,
467 "enable possessive quantifier syntax for testing") 468 "enable possessive quantifier syntax for testing")
468 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") 469 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
469 DEFINE_bool(trace_regexp_assembler, 470 DEFINE_bool(trace_regexp_assembler,
470 false, 471 false,
471 "trace regexp macro assembler calls.") 472 "trace regexp macro assembler calls.")
472 473
473 // 474 //
474 // Logging and profiling only flags 475 // Logging and profiling flags
475 // 476 //
476 #undef FLAG 477 #undef FLAG
477 #ifdef ENABLE_LOGGING_AND_PROFILING
478 #define FLAG FLAG_FULL 478 #define FLAG FLAG_FULL
479 #else
480 #define FLAG FLAG_READONLY
481 #endif
482 479
483 // log.cc 480 // log.cc
484 DEFINE_bool(log, false, 481 DEFINE_bool(log, false,
485 "Minimal logging (no API, code, GC, suspect, or handles samples).") 482 "Minimal logging (no API, code, GC, suspect, or handles samples).")
486 DEFINE_bool(log_all, false, "Log all events to the log file.") 483 DEFINE_bool(log_all, false, "Log all events to the log file.")
487 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") 484 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.")
488 DEFINE_bool(log_api, false, "Log API events to the log file.") 485 DEFINE_bool(log_api, false, "Log API events to the log file.")
489 DEFINE_bool(log_code, false, 486 DEFINE_bool(log_code, false,
490 "Log code events to the log file without profiling.") 487 "Log code events to the log file without profiling.")
491 DEFINE_bool(log_gc, false, 488 DEFINE_bool(log_gc, false,
(...skipping 11 matching lines...) Expand all
503 " when profiler is active (implies --noprof_auto).") 500 " when profiler is active (implies --noprof_auto).")
504 DEFINE_bool(prof_browser_mode, true, 501 DEFINE_bool(prof_browser_mode, true,
505 "Used with --prof, turns on browser-compatible mode for profiling.") 502 "Used with --prof, turns on browser-compatible mode for profiling.")
506 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 503 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
507 DEFINE_bool(sliding_state_window, false, 504 DEFINE_bool(sliding_state_window, false,
508 "Update sliding state window counters.") 505 "Update sliding state window counters.")
509 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 506 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
510 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") 507 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
511 508
512 // 509 //
513 // Heap protection flags
514 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well.
515 //
516 #ifdef ENABLE_HEAP_PROTECTION
517 #undef FLAG
518 #define FLAG FLAG_FULL
519
520 DEFINE_bool(protect_heap, false,
521 "Protect/unprotect V8's heap when leaving/entring the VM.")
522
523 #endif
524
525 //
526 // Disassembler only flags 510 // Disassembler only flags
527 // 511 //
528 #undef FLAG 512 #undef FLAG
529 #ifdef ENABLE_DISASSEMBLER 513 #ifdef ENABLE_DISASSEMBLER
530 #define FLAG FLAG_FULL 514 #define FLAG FLAG_FULL
531 #else 515 #else
532 #define FLAG FLAG_READONLY 516 #define FLAG FLAG_READONLY
533 #endif 517 #endif
534 518
535 // code-stubs.cc 519 // code-stubs.cc
(...skipping 13 matching lines...) Expand all
549 #undef FLAG 533 #undef FLAG
550 534
551 #undef DEFINE_bool 535 #undef DEFINE_bool
552 #undef DEFINE_int 536 #undef DEFINE_int
553 #undef DEFINE_string 537 #undef DEFINE_string
554 538
555 #undef FLAG_MODE_DECLARE 539 #undef FLAG_MODE_DECLARE
556 #undef FLAG_MODE_DEFINE 540 #undef FLAG_MODE_DEFINE
557 #undef FLAG_MODE_DEFINE_DEFAULTS 541 #undef FLAG_MODE_DEFINE_DEFAULTS
558 #undef FLAG_MODE_META 542 #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