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 #include "src/signature.h" | 5 #include "src/signature.h" |
6 | 6 |
7 #include "src/handles.h" | 7 #include "src/handles.h" |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 #include "src/zone/zone-containers.h" | 9 #include "src/zone/zone-containers.h" |
10 | 10 |
11 #include "src/wasm/ast-decoder.h" | 11 #include "src/wasm/function-body-decoder.h" |
12 #include "src/wasm/leb-helper.h" | 12 #include "src/wasm/leb-helper.h" |
13 #include "src/wasm/wasm-macro-gen.h" | 13 #include "src/wasm/wasm-macro-gen.h" |
14 #include "src/wasm/wasm-module-builder.h" | 14 #include "src/wasm/wasm-module-builder.h" |
15 #include "src/wasm/wasm-module.h" | 15 #include "src/wasm/wasm-module.h" |
16 #include "src/wasm/wasm-opcodes.h" | 16 #include "src/wasm/wasm-opcodes.h" |
17 | 17 |
18 #include "src/v8memory.h" | 18 #include "src/v8memory.h" |
19 | 19 |
20 #if DEBUG | 20 #if DEBUG |
21 #define TRACE(...) \ | 21 #define TRACE(...) \ |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 // Emit the offset table per function. | 535 // Emit the offset table per function. |
536 for (auto function : functions_) { | 536 for (auto function : functions_) { |
537 function->WriteAsmWasmOffsetTable(buffer); | 537 function->WriteAsmWasmOffsetTable(buffer); |
538 } | 538 } |
539 // Append a 0 to indicate that this is an encoded table. | 539 // Append a 0 to indicate that this is an encoded table. |
540 buffer.write_u8(0); | 540 buffer.write_u8(0); |
541 } | 541 } |
542 } // namespace wasm | 542 } // namespace wasm |
543 } // namespace internal | 543 } // namespace internal |
544 } // namespace v8 | 544 } // namespace v8 |
OLD | NEW |