| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 DEFINE_bool(preallocate_message_memory, false, | 192 DEFINE_bool(preallocate_message_memory, false, |
| 193 "preallocate some memory to build stack traces.") | 193 "preallocate some memory to build stack traces.") |
| 194 | 194 |
| 195 // usage-analyzer.cc | 195 // usage-analyzer.cc |
| 196 DEFINE_bool(usage_computation, true, "compute variable usage counts") | 196 DEFINE_bool(usage_computation, true, "compute variable usage counts") |
| 197 | 197 |
| 198 // v8.cc | 198 // v8.cc |
| 199 DEFINE_bool(preemption, false, | 199 DEFINE_bool(preemption, false, |
| 200 "activate a 100ms timer that switches between V8 threads") | 200 "activate a 100ms timer that switches between V8 threads") |
| 201 | 201 |
| 202 // Irregexp | 202 // Regexp |
| 203 DEFINE_bool(irregexp, true, "new regular expression code") | 203 DEFINE_bool(trace_regexps, false, "trace regexp execution") |
| 204 DEFINE_bool(trace_regexps, false, "trace Irregexp execution") | 204 DEFINE_bool(regexp_native, true, "use native code regexp implementation (IA32 on
ly)") |
| 205 DEFINE_bool(irregexp_native, true, "use native code Irregexp implementation (IA3
2 only)") | 205 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
| 206 DEFINE_bool(irregexp_optimization, true, "generate optimized regexp code") | |
| 207 | 206 |
| 208 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 207 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| 209 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") | 208 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
| 210 DEFINE_int(testing_int_flag, 13, "testing_int_flag") | 209 DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
| 211 DEFINE_float(testing_float_flag, 2.5, "float-flag") | 210 DEFINE_float(testing_float_flag, 2.5, "float-flag") |
| 212 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 211 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
| 213 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 212 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
| 214 #ifdef WIN32 | 213 #ifdef WIN32 |
| 215 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", | 214 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
| 216 "file in which to testing_serialize heap") | 215 "file in which to testing_serialize heap") |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 288 |
| 290 // serialize.cc | 289 // serialize.cc |
| 291 DEFINE_bool(debug_serialization, false, | 290 DEFINE_bool(debug_serialization, false, |
| 292 "write debug information into the snapshot.") | 291 "write debug information into the snapshot.") |
| 293 | 292 |
| 294 // spaces.cc | 293 // spaces.cc |
| 295 DEFINE_bool(collect_heap_spill_statistics, false, | 294 DEFINE_bool(collect_heap_spill_statistics, false, |
| 296 "report heap spill statistics along with heap_stats " | 295 "report heap spill statistics along with heap_stats " |
| 297 "(requires heap_stats)") | 296 "(requires heap_stats)") |
| 298 | 297 |
| 299 // irregexp | 298 // Regexp |
| 300 DEFINE_bool(trace_regexp_bytecodes, false, "trace Irregexp bytecode execution") | 299 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
| 301 DEFINE_bool(trace_regexp_assembler, false, | 300 DEFINE_bool(trace_regexp_assembler, |
| 302 "trace Irregexp macro assembler calls.") | 301 false, |
| 302 "trace regexp macro assembler calls.") |
| 303 | 303 |
| 304 // | 304 // |
| 305 // Logging and profiling only flags | 305 // Logging and profiling only flags |
| 306 // | 306 // |
| 307 #undef FLAG | 307 #undef FLAG |
| 308 #ifdef ENABLE_LOGGING_AND_PROFILING | 308 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 309 #define FLAG FLAG_FULL | 309 #define FLAG FLAG_FULL |
| 310 #else | 310 #else |
| 311 #define FLAG FLAG_READONLY | 311 #define FLAG FLAG_READONLY |
| 312 #endif | 312 #endif |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 #undef FLAG | 353 #undef FLAG |
| 354 | 354 |
| 355 #undef DEFINE_bool | 355 #undef DEFINE_bool |
| 356 #undef DEFINE_int | 356 #undef DEFINE_int |
| 357 #undef DEFINE_string | 357 #undef DEFINE_string |
| 358 | 358 |
| 359 #undef FLAG_MODE_DECLARE | 359 #undef FLAG_MODE_DECLARE |
| 360 #undef FLAG_MODE_DEFINE | 360 #undef FLAG_MODE_DEFINE |
| 361 #undef FLAG_MODE_DEFINE_DEFAULTS | 361 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 362 #undef FLAG_MODE_META | 362 #undef FLAG_MODE_META |
| OLD | NEW |