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

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

Issue 1894073007: [Interpreter] Fix typo in generate-bytecode-expectations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 #include <vector> 7 #include <vector>
8 8
9 #include "test/cctest/interpreter/bytecode-expectations-printer.h" 9 #include "test/cctest/interpreter/bytecode-expectations-printer.h"
10 10
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 execute_ = ParseBoolean(line.c_str() + 9); 315 execute_ = ParseBoolean(line.c_str() + 9);
316 } else if (line.compare(0, 6, "wrap: ") == 0) { 316 } else if (line.compare(0, 6, "wrap: ") == 0) {
317 wrap_ = ParseBoolean(line.c_str() + 6); 317 wrap_ = ParseBoolean(line.c_str() + 6);
318 } else if (line.compare(0, 20, "test function name: ") == 0) { 318 } else if (line.compare(0, 20, "test function name: ") == 0) {
319 test_function_name_ = line.c_str() + 20; 319 test_function_name_ = line.c_str() + 20;
320 } else if (line.compare(0, 11, "top level: ") == 0) { 320 } else if (line.compare(0, 11, "top level: ") == 0) {
321 top_level_ = ParseBoolean(line.c_str() + 11); 321 top_level_ = ParseBoolean(line.c_str() + 11);
322 } else if (line.compare(0, 16, "do expressions: ") == 0) { 322 } else if (line.compare(0, 16, "do expressions: ") == 0) {
323 do_expressions_ = ParseBoolean(line.c_str() + 16); 323 do_expressions_ = ParseBoolean(line.c_str() + 16);
324 } else if (line.compare(0, 21, "ignition generators: ") == 0) { 324 } else if (line.compare(0, 21, "ignition generators: ") == 0) {
325 do_expressions_ = ParseBoolean(line.c_str() + 21); 325 ignition_generators_ = ParseBoolean(line.c_str() + 21);
326 } else if (line == "---") { 326 } else if (line == "---") {
327 break; 327 break;
328 } else if (line.empty()) { 328 } else if (line.empty()) {
329 continue; 329 continue;
330 } else { 330 } else {
331 UNREACHABLE(); 331 UNREACHABLE();
332 return; 332 return;
333 } 333 }
334 } 334 }
335 } 335 }
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 } 575 }
576 } 576 }
577 577
578 if (!options.rebaseline()) { 578 if (!options.rebaseline()) {
579 if (!WriteExpectationsFile(snippet_list, platform, options, 579 if (!WriteExpectationsFile(snippet_list, platform, options,
580 options.output_filename())) { 580 options.output_filename())) {
581 return 3; 581 return 3;
582 } 582 }
583 } 583 }
584 } 584 }
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