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

Side by Side Diff: src/compiler/wasm-compiler.h

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
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_COMPILER_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
11 // Do not include anything from src/compiler here! 11 // Do not include anything from src/compiler here!
12 #include "src/compilation-info.h"
12 #include "src/compiler.h" 13 #include "src/compiler.h"
13 #include "src/wasm/wasm-opcodes.h" 14 #include "src/wasm/wasm-opcodes.h"
14 #include "src/wasm/wasm-result.h" 15 #include "src/wasm/wasm-result.h"
15 #include "src/zone.h" 16 #include "src/zone.h"
16 17
17 namespace v8 { 18 namespace v8 {
18 namespace internal { 19 namespace internal {
19 20
20 namespace compiler { 21 namespace compiler {
21 // Forward declarations for some compiler data structures. 22 // Forward declarations for some compiler data structures.
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 Node** buf = Buffer(new_count); 336 Node** buf = Buffer(new_count);
336 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); 337 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*));
337 return buf; 338 return buf;
338 } 339 }
339 }; 340 };
340 } // namespace compiler 341 } // namespace compiler
341 } // namespace internal 342 } // namespace internal
342 } // namespace v8 343 } // namespace v8
343 344
344 #endif // V8_COMPILER_WASM_COMPILER_H_ 345 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698