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_WASM_ENCODER_H_ | 5 #ifndef V8_WASM_WASM_MODULE_BUILDER_H_ |
6 #define V8_WASM_ENCODER_H_ | 6 #define V8_WASM_WASM_MODULE_BUILDER_H_ |
7 | 7 |
8 #include "src/signature.h" | 8 #include "src/signature.h" |
9 #include "src/zone/zone-containers.h" | 9 #include "src/zone/zone-containers.h" |
10 | 10 |
11 #include "src/wasm/leb-helper.h" | 11 #include "src/wasm/leb-helper.h" |
12 #include "src/wasm/wasm-macro-gen.h" | 12 #include "src/wasm/wasm-macro-gen.h" |
13 #include "src/wasm/wasm-module.h" | 13 #include "src/wasm/wasm-module.h" |
14 #include "src/wasm/wasm-opcodes.h" | 14 #include "src/wasm/wasm-opcodes.h" |
15 #include "src/wasm/wasm-result.h" | 15 #include "src/wasm/wasm-result.h" |
16 | 16 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 }; | 254 }; |
255 | 255 |
256 inline FunctionSig* WasmFunctionBuilder::signature() { | 256 inline FunctionSig* WasmFunctionBuilder::signature() { |
257 return builder_->signatures_[signature_index_]; | 257 return builder_->signatures_[signature_index_]; |
258 } | 258 } |
259 | 259 |
260 } // namespace wasm | 260 } // namespace wasm |
261 } // namespace internal | 261 } // namespace internal |
262 } // namespace v8 | 262 } // namespace v8 |
263 | 263 |
264 #endif // V8_WASM_ENCODER_H_ | 264 #endif // V8_WASM_WASM_MODULE_BUILDER_H_ |
OLD | NEW |