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

Side by Side Diff: test/cctest/interpreter/generate-bytecode-expectations.cc

Issue 1717633002: [Interpreter] Fix generate-bytecode-expectations help message. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #include <cstring> 5 #include <cstring>
6 #include <fstream> 6 #include <fstream>
7 7
8 #include "test/cctest/interpreter/bytecode-expectations-printer.h" 8 #include "test/cctest/interpreter/bytecode-expectations-printer.h"
9 9
10 #include "include/libplatform/libplatform.h" 10 #include "include/libplatform/libplatform.h"
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 " --stdin Read from standard input instead of file.\n" 380 " --stdin Read from standard input instead of file.\n"
381 " --rebaseline Rebaseline input snippet file.\n" 381 " --rebaseline Rebaseline input snippet file.\n"
382 " --no-wrap Do not wrap the snippet in a function.\n" 382 " --no-wrap Do not wrap the snippet in a function.\n"
383 " --no-execute Do not execute after compilation.\n" 383 " --no-execute Do not execute after compilation.\n"
384 " --test-function-name=foo " 384 " --test-function-name=foo "
385 "Specify the name of the test function.\n" 385 "Specify the name of the test function.\n"
386 " --top-level Process top level code, not the top-level function." 386 " --top-level Process top level code, not the top-level function."
387 " --output=file.name\n" 387 " --output=file.name\n"
388 " Specify the output file. If not specified, output goes to " 388 " Specify the output file. If not specified, output goes to "
389 "stdout.\n" 389 "stdout.\n"
390 " --pool-type=(int|double|string|mixed)\n" 390 " --pool-type=(number|string|mixed)\n"
391 " Specify the type of the entries in the constant pool " 391 " Specify the type of the entries in the constant pool "
392 "(default: mixed).\n" 392 "(default: mixed).\n"
393 "\n" 393 "\n"
394 "When using --rebaseline, flags --no-wrap, --no-execute, " 394 "When using --rebaseline, flags --no-wrap, --no-execute, "
395 "--test-function-name\nand --pool-type will be overridden by the " 395 "--test-function-name\nand --pool-type will be overridden by the "
396 "options specified in the input file\nheader.\n\n" 396 "options specified in the input file\nheader.\n\n"
397 "Each raw JavaScript file is interpreted as a single snippet.\n\n" 397 "Each raw JavaScript file is interpreted as a single snippet.\n\n"
398 "This tool is intended as a help in writing tests.\n" 398 "This tool is intended as a help in writing tests.\n"
399 "Please, DO NOT blindly copy and paste the output " 399 "Please, DO NOT blindly copy and paste the output "
400 "into the test suite.\n"; 400 "into the test suite.\n";
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 std::cerr << "ERROR: Could not open '" << options.output_filename() 439 std::cerr << "ERROR: Could not open '" << options.output_filename()
440 << "' for writing.\n"; 440 << "' for writing.\n";
441 return 3; 441 return 3;
442 } 442 }
443 } 443 }
444 std::ostream& output_stream = 444 std::ostream& output_stream =
445 options.write_to_stdout() ? std::cout : output_file_handle; 445 options.write_to_stdout() ? std::cout : output_file_handle;
446 446
447 GenerateExpectationsFile(output_stream, snippet_list, options, argv[0]); 447 GenerateExpectationsFile(output_stream, snippet_list, options, argv[0]);
448 } 448 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698