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

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

Issue 2751693002: [wasm][asm.js] Adding custom asm.js lexer. (Closed)
Patch Set: fix Created 3 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 DEFINE_INT(trace_wasm_ast_start, 0, 539 DEFINE_INT(trace_wasm_ast_start, 0,
540 "start function for WASM AST trace (inclusive)") 540 "start function for WASM AST trace (inclusive)")
541 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") 541 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)")
542 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") 542 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N")
543 DEFINE_BOOL(wasm_break_on_decoder_error, false, 543 DEFINE_BOOL(wasm_break_on_decoder_error, false,
544 "debug break when wasm decoder encounters an error") 544 "debug break when wasm decoder encounters an error")
545 DEFINE_BOOL(wasm_loop_assignment_analysis, true, 545 DEFINE_BOOL(wasm_loop_assignment_analysis, true,
546 "perform loop assignment analysis for WASM") 546 "perform loop assignment analysis for WASM")
547 547
548 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") 548 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling")
549 DEFINE_BOOL(fast_validate_asm, false,
550 "validate asm.js modules before compiling")
551 DEFINE_IMPLICATION(fast_validate_asm, validate_asm)
vogelheim 2017/03/16 12:46:48 I don't see these being used in this CL. Is this i
bradn 2017/03/16 17:03:15 Bad merge, will remove for this CL.
549 DEFINE_BOOL(suppress_asm_messages, false, 552 DEFINE_BOOL(suppress_asm_messages, false,
550 "don't emit asm.js related messages (for golden file testing)") 553 "don't emit asm.js related messages (for golden file testing)")
551 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") 554 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console")
555 DEFINE_BOOL(trace_asm_scanner, false,
556 "log tokens encountered by asm.js scanner")
552 557
553 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") 558 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes")
554 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") 559 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to")
555 560
556 DEFINE_INT(typed_array_max_size_in_heap, 64, 561 DEFINE_INT(typed_array_max_size_in_heap, 64,
557 "threshold for in-heap typed array") 562 "threshold for in-heap typed array")
558 563
559 DEFINE_BOOL(wasm_simd_prototype, false, 564 DEFINE_BOOL(wasm_simd_prototype, false,
560 "enable prototype simd opcodes for wasm") 565 "enable prototype simd opcodes for wasm")
561 DEFINE_BOOL(wasm_eh_prototype, false, 566 DEFINE_BOOL(wasm_eh_prototype, false,
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 #undef DEFINE_ALIAS_FLOAT 1331 #undef DEFINE_ALIAS_FLOAT
1327 #undef DEFINE_ALIAS_ARGS 1332 #undef DEFINE_ALIAS_ARGS
1328 1333
1329 #undef FLAG_MODE_DECLARE 1334 #undef FLAG_MODE_DECLARE
1330 #undef FLAG_MODE_DEFINE 1335 #undef FLAG_MODE_DEFINE
1331 #undef FLAG_MODE_DEFINE_DEFAULTS 1336 #undef FLAG_MODE_DEFINE_DEFAULTS
1332 #undef FLAG_MODE_META 1337 #undef FLAG_MODE_META
1333 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1338 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1334 1339
1335 #undef COMMA 1340 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698