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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Regexp | 202 // Regexp |
203 DEFINE_bool(trace_regexps, false, "trace regexp execution") | 203 DEFINE_bool(trace_regexps, false, "trace regexp execution") |
204 DEFINE_bool(regexp_native, true, "use native code regexp implementation (IA32 on
ly)") | 204 DEFINE_bool(regexp_native, true, |
| 205 "use native code regexp implementation (IA32 only)") |
205 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") | 206 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
206 | 207 |
207 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 208 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
208 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") | 209 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
209 DEFINE_int(testing_int_flag, 13, "testing_int_flag") | 210 DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
210 DEFINE_float(testing_float_flag, 2.5, "float-flag") | 211 DEFINE_float(testing_float_flag, 2.5, "float-flag") |
211 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 212 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
212 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 213 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
213 #ifdef WIN32 | 214 #ifdef WIN32 |
214 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", | 215 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
215 "file in which to testing_serialize heap") | 216 "file in which to testing_serialize heap") |
216 #else | 217 #else |
217 DEFINE_string(testing_serialization_file, "/tmp/serdes", | 218 DEFINE_string(testing_serialization_file, "/tmp/serdes", |
218 "file in which to serialize heap") | 219 "file in which to serialize heap") |
219 #endif | 220 #endif |
220 | 221 |
221 // | 222 // |
222 // Dev shell flags | 223 // Dev shell flags |
223 // | 224 // |
224 | 225 |
225 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 226 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
226 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 227 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
227 DEFINE_bool(debugger, true, "Enable JavaScript debugger") | 228 DEFINE_bool(debugger, true, "Enable JavaScript debugger") |
| 229 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
| 230 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
228 DEFINE_string(map_counters, false, "Map counters to a file") | 231 DEFINE_string(map_counters, false, "Map counters to a file") |
229 DEFINE_args(js_arguments, JSArguments(), | 232 DEFINE_args(js_arguments, JSArguments(), |
230 "Pass all remaining arguments to the script. Alias for \"--\".") | 233 "Pass all remaining arguments to the script. Alias for \"--\".") |
231 | 234 |
232 // | 235 // |
233 // Debug only flags | 236 // Debug only flags |
234 // | 237 // |
235 #undef FLAG | 238 #undef FLAG |
236 #ifdef DEBUG | 239 #ifdef DEBUG |
237 #define FLAG FLAG_FULL | 240 #define FLAG FLAG_FULL |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 #undef FLAG | 356 #undef FLAG |
354 | 357 |
355 #undef DEFINE_bool | 358 #undef DEFINE_bool |
356 #undef DEFINE_int | 359 #undef DEFINE_int |
357 #undef DEFINE_string | 360 #undef DEFINE_string |
358 | 361 |
359 #undef FLAG_MODE_DECLARE | 362 #undef FLAG_MODE_DECLARE |
360 #undef FLAG_MODE_DEFINE | 363 #undef FLAG_MODE_DEFINE |
361 #undef FLAG_MODE_DEFINE_DEFAULTS | 364 #undef FLAG_MODE_DEFINE_DEFAULTS |
362 #undef FLAG_MODE_META | 365 #undef FLAG_MODE_META |
OLD | NEW |