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

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

Issue 40290: Experimental: Merge 1395:1441 from bleeding_edge branch to the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/global/
Patch Set: Created 11 years, 9 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/execution.cc ('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 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
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(remote_debugger, false, "Connect JavaScript debugger to the "
230 "debugger agent in another process")
231 DEFINE_bool(debugger_agent, false, "Enable debugger agent")
232 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging")
228 DEFINE_string(map_counters, false, "Map counters to a file") 233 DEFINE_string(map_counters, false, "Map counters to a file")
229 DEFINE_args(js_arguments, JSArguments(), 234 DEFINE_args(js_arguments, JSArguments(),
230 "Pass all remaining arguments to the script. Alias for \"--\".") 235 "Pass all remaining arguments to the script. Alias for \"--\".")
231 236
232 // 237 //
233 // Debug only flags 238 // Debug only flags
234 // 239 //
235 #undef FLAG 240 #undef FLAG
236 #ifdef DEBUG 241 #ifdef DEBUG
237 #define FLAG FLAG_FULL 242 #define FLAG FLAG_FULL
238 #else 243 #else
239 #define FLAG FLAG_READONLY 244 #define FLAG FLAG_READONLY
240 #endif 245 #endif
241 246
242 // checks.cc 247 // checks.cc
243 DEFINE_bool(enable_slow_asserts, false, 248 DEFINE_bool(enable_slow_asserts, false,
244 "enable asserts that are slow to execute") 249 "enable asserts that are slow to execute")
245 250
246 // code-stubs.cc
247 DEFINE_bool(print_code_stubs, false, "print code stubs")
248
249 // codegen-ia32.cc / codegen-arm.cc 251 // codegen-ia32.cc / codegen-arm.cc
250 DEFINE_bool(trace_codegen, false, 252 DEFINE_bool(trace_codegen, false,
251 "print name of functions for which code is generated") 253 "print name of functions for which code is generated")
252 DEFINE_bool(print_source, false, "pretty print source code") 254 DEFINE_bool(print_source, false, "pretty print source code")
253 DEFINE_bool(print_builtin_source, false, 255 DEFINE_bool(print_builtin_source, false,
254 "pretty print source code for builtins") 256 "pretty print source code for builtins")
255 DEFINE_bool(print_ast, false, "print source AST") 257 DEFINE_bool(print_ast, false, "print source AST")
256 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") 258 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins")
257 DEFINE_bool(trace_calls, false, "trace calls") 259 DEFINE_bool(trace_calls, false, "trace calls")
258 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") 260 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls")
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 DEFINE_bool(log_state_changes, false, "Log state changes.") 327 DEFINE_bool(log_state_changes, false, "Log state changes.")
326 DEFINE_bool(log_suspect, false, "Log suspect operations.") 328 DEFINE_bool(log_suspect, false, "Log suspect operations.")
327 DEFINE_bool(prof, false, 329 DEFINE_bool(prof, false,
328 "Log statistical profiling information (implies --log-code).") 330 "Log statistical profiling information (implies --log-code).")
329 DEFINE_bool(prof_auto, true, 331 DEFINE_bool(prof_auto, true,
330 "Used with --prof, starts profiling automatically") 332 "Used with --prof, starts profiling automatically")
331 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 333 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
332 DEFINE_bool(sliding_state_window, false, 334 DEFINE_bool(sliding_state_window, false,
333 "Update sliding state window counters.") 335 "Update sliding state window counters.")
334 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 336 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
337 DEFINE_bool(oprofile, false,
338 "Enable JIT agent for OProfile.")
335 339
336 // 340 //
337 // Disassembler only flags 341 // Disassembler only flags
338 // 342 //
339 #undef FLAG 343 #undef FLAG
340 #ifdef ENABLE_DISASSEMBLER 344 #ifdef ENABLE_DISASSEMBLER
341 #define FLAG FLAG_FULL 345 #define FLAG FLAG_FULL
342 #else 346 #else
343 #define FLAG FLAG_READONLY 347 #define FLAG FLAG_READONLY
344 #endif 348 #endif
345 349
350 // code-stubs.cc
351 DEFINE_bool(print_code_stubs, false, "print code stubs")
352
346 // codegen-ia32.cc / codegen-arm.cc 353 // codegen-ia32.cc / codegen-arm.cc
347 DEFINE_bool(print_code, false, "print generated code") 354 DEFINE_bool(print_code, false, "print generated code")
348 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") 355 DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
349 356
350 // Cleanup... 357 // Cleanup...
351 #undef FLAG_FULL 358 #undef FLAG_FULL
352 #undef FLAG_READONLY 359 #undef FLAG_READONLY
353 #undef FLAG 360 #undef FLAG
354 361
355 #undef DEFINE_bool 362 #undef DEFINE_bool
356 #undef DEFINE_int 363 #undef DEFINE_int
357 #undef DEFINE_string 364 #undef DEFINE_string
358 365
359 #undef FLAG_MODE_DECLARE 366 #undef FLAG_MODE_DECLARE
360 #undef FLAG_MODE_DEFINE 367 #undef FLAG_MODE_DEFINE
361 #undef FLAG_MODE_DEFINE_DEFAULTS 368 #undef FLAG_MODE_DEFINE_DEFAULTS
362 #undef FLAG_MODE_META 369 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698