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

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

Issue 7324051: Remove heap protection support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | src/handles.cc » ('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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 " when profiler is active (implies --noprof_auto).") 484 " when profiler is active (implies --noprof_auto).")
485 DEFINE_bool(prof_browser_mode, true, 485 DEFINE_bool(prof_browser_mode, true,
486 "Used with --prof, turns on browser-compatible mode for profiling.") 486 "Used with --prof, turns on browser-compatible mode for profiling.")
487 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 487 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
488 DEFINE_bool(sliding_state_window, false, 488 DEFINE_bool(sliding_state_window, false,
489 "Update sliding state window counters.") 489 "Update sliding state window counters.")
490 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 490 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
491 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") 491 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
492 492
493 // 493 //
494 // Heap protection flags
495 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well.
496 //
497 #ifdef ENABLE_HEAP_PROTECTION
498 #undef FLAG
499 #define FLAG FLAG_FULL
500
501 DEFINE_bool(protect_heap, false,
502 "Protect/unprotect V8's heap when leaving/entring the VM.")
503
504 #endif
505
506 //
507 // Disassembler only flags 494 // Disassembler only flags
508 // 495 //
509 #undef FLAG 496 #undef FLAG
510 #ifdef ENABLE_DISASSEMBLER 497 #ifdef ENABLE_DISASSEMBLER
511 #define FLAG FLAG_FULL 498 #define FLAG FLAG_FULL
512 #else 499 #else
513 #define FLAG FLAG_READONLY 500 #define FLAG FLAG_READONLY
514 #endif 501 #endif
515 502
516 // code-stubs.cc 503 // code-stubs.cc
(...skipping 13 matching lines...) Expand all
530 #undef FLAG 517 #undef FLAG
531 518
532 #undef DEFINE_bool 519 #undef DEFINE_bool
533 #undef DEFINE_int 520 #undef DEFINE_int
534 #undef DEFINE_string 521 #undef DEFINE_string
535 522
536 #undef FLAG_MODE_DECLARE 523 #undef FLAG_MODE_DECLARE
537 #undef FLAG_MODE_DEFINE 524 #undef FLAG_MODE_DEFINE
538 #undef FLAG_MODE_DEFINE_DEFAULTS 525 #undef FLAG_MODE_DEFINE_DEFAULTS
539 #undef FLAG_MODE_META 526 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « no previous file | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698