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

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

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 years, 3 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 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 <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "test/cctest/interpreter/bytecode-expectations-printer.h" 10 #include "test/cctest/interpreter/bytecode-expectations-printer.h"
11 11
12 #include "include/libplatform/libplatform.h" 12 #include "include/libplatform/libplatform.h"
13 #include "include/v8.h" 13 #include "include/v8.h"
14 14
15 #include "src/base/logging.h" 15 #include "src/base/logging.h"
16 #include "src/compiler.h"
17 #include "src/interpreter/interpreter.h" 16 #include "src/interpreter/interpreter.h"
18 17
19 #ifdef V8_OS_POSIX 18 #ifdef V8_OS_POSIX
20 #include <dirent.h> 19 #include <dirent.h>
21 #endif 20 #endif
22 21
23 using v8::internal::interpreter::BytecodeExpectationsPrinter; 22 using v8::internal::interpreter::BytecodeExpectationsPrinter;
24 23
25 #define REPORT_ERROR(MESSAGE) (((std::cerr << "ERROR: ") << MESSAGE) << '\n') 24 #define REPORT_ERROR(MESSAGE) (((std::cerr << "ERROR: ") << MESSAGE) << '\n')
26 25
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 } 554 }
556 } 555 }
557 556
558 if (!options.rebaseline()) { 557 if (!options.rebaseline()) {
559 if (!WriteExpectationsFile(snippet_list, platform, options, 558 if (!WriteExpectationsFile(snippet_list, platform, options,
560 options.output_filename())) { 559 options.output_filename())) {
561 return 3; 560 return 3;
562 } 561 }
563 } 562 }
564 } 563 }
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode-expectations-printer.cc ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698