| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |