| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 99 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 100 DEFINE_bool(debug_code, false, | 100 DEFINE_bool(debug_code, true, |
| 101 "generate extra code (comments, assertions) for debugging") | 101 "generate extra code (comments, assertions) for debugging") |
| 102 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | 102 DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
| 103 DEFINE_bool(push_pop_elimination, true, | 103 DEFINE_bool(push_pop_elimination, true, |
| 104 "eliminate redundant push/pops in assembly code") | 104 "eliminate redundant push/pops in assembly code") |
| 105 DEFINE_bool(print_push_pop_elimination, false, | 105 DEFINE_bool(print_push_pop_elimination, false, |
| 106 "print elimination of redundant push/pops in assembly code") | 106 "print elimination of redundant push/pops in assembly code") |
| 107 DEFINE_bool(enable_sse2, true, | 107 DEFINE_bool(enable_sse2, true, |
| 108 "enable use of SSE2 instructions if available") | 108 "enable use of SSE2 instructions if available") |
| 109 DEFINE_bool(enable_sse3, true, | 109 DEFINE_bool(enable_sse3, true, |
| 110 "enable use of SSE3 instructions if available") | 110 "enable use of SSE3 instructions if available") |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 DEFINE_bool(print_scopes, false, "print scopes") | 301 DEFINE_bool(print_scopes, false, "print scopes") |
| 302 | 302 |
| 303 // contexts.cc | 303 // contexts.cc |
| 304 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 304 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
| 305 | 305 |
| 306 // heap.cc | 306 // heap.cc |
| 307 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") | 307 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
| 308 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 308 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
| 309 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 309 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
| 310 DEFINE_bool(code_stats, false, "report code statistics after GC") | 310 DEFINE_bool(code_stats, false, "report code statistics after GC") |
| 311 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 311 DEFINE_bool(verify_heap, true, "verify heap pointers before and after GC") |
| 312 DEFINE_bool(print_handles, false, "report handles after GC") | 312 DEFINE_bool(print_handles, false, "report handles after GC") |
| 313 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 313 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
| 314 DEFINE_bool(print_rset, false, "print remembered sets before GC") | 314 DEFINE_bool(print_rset, false, "print remembered sets before GC") |
| 315 | 315 |
| 316 // ic.cc | 316 // ic.cc |
| 317 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 317 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
| 318 | 318 |
| 319 // objects.cc | 319 // objects.cc |
| 320 DEFINE_bool(trace_normalization, | 320 DEFINE_bool(trace_normalization, |
| 321 false, | 321 false, |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 #undef FLAG | 417 #undef FLAG |
| 418 | 418 |
| 419 #undef DEFINE_bool | 419 #undef DEFINE_bool |
| 420 #undef DEFINE_int | 420 #undef DEFINE_int |
| 421 #undef DEFINE_string | 421 #undef DEFINE_string |
| 422 | 422 |
| 423 #undef FLAG_MODE_DECLARE | 423 #undef FLAG_MODE_DECLARE |
| 424 #undef FLAG_MODE_DEFINE | 424 #undef FLAG_MODE_DEFINE |
| 425 #undef FLAG_MODE_DEFINE_DEFAULTS | 425 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 426 #undef FLAG_MODE_META | 426 #undef FLAG_MODE_META |
| OLD | NEW |