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

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

Issue 7350014: Remove the ability to compile without logging and profiling (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments Created 9 years, 5 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/d8.gyp ('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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // Regexp 445 // Regexp
446 DEFINE_bool(regexp_possessive_quantifier, 446 DEFINE_bool(regexp_possessive_quantifier,
447 false, 447 false,
448 "enable possessive quantifier syntax for testing") 448 "enable possessive quantifier syntax for testing")
449 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") 449 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
450 DEFINE_bool(trace_regexp_assembler, 450 DEFINE_bool(trace_regexp_assembler,
451 false, 451 false,
452 "trace regexp macro assembler calls.") 452 "trace regexp macro assembler calls.")
453 453
454 // 454 //
455 // Logging and profiling only flags 455 // Logging and profiling flags
456 // 456 //
457 #undef FLAG 457 #undef FLAG
458 #ifdef ENABLE_LOGGING_AND_PROFILING
459 #define FLAG FLAG_FULL 458 #define FLAG FLAG_FULL
460 #else
461 #define FLAG FLAG_READONLY
462 #endif
463 459
464 // log.cc 460 // log.cc
465 DEFINE_bool(log, false, 461 DEFINE_bool(log, false,
466 "Minimal logging (no API, code, GC, suspect, or handles samples).") 462 "Minimal logging (no API, code, GC, suspect, or handles samples).")
467 DEFINE_bool(log_all, false, "Log all events to the log file.") 463 DEFINE_bool(log_all, false, "Log all events to the log file.")
468 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") 464 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.")
469 DEFINE_bool(log_api, false, "Log API events to the log file.") 465 DEFINE_bool(log_api, false, "Log API events to the log file.")
470 DEFINE_bool(log_code, false, 466 DEFINE_bool(log_code, false,
471 "Log code events to the log file without profiling.") 467 "Log code events to the log file without profiling.")
472 DEFINE_bool(log_gc, false, 468 DEFINE_bool(log_gc, false,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 #undef FLAG 513 #undef FLAG
518 514
519 #undef DEFINE_bool 515 #undef DEFINE_bool
520 #undef DEFINE_int 516 #undef DEFINE_int
521 #undef DEFINE_string 517 #undef DEFINE_string
522 518
523 #undef FLAG_MODE_DECLARE 519 #undef FLAG_MODE_DECLARE
524 #undef FLAG_MODE_DEFINE 520 #undef FLAG_MODE_DEFINE
525 #undef FLAG_MODE_DEFINE_DEFAULTS 521 #undef FLAG_MODE_DEFINE_DEFAULTS
526 #undef FLAG_MODE_META 522 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/d8.gyp ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698