| 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/ast-decoder.h" |
| 12 #include "src/wasm/encoder.h" | |
| 13 #include "src/wasm/leb-helper.h" | 12 #include "src/wasm/leb-helper.h" |
| 14 #include "src/wasm/wasm-macro-gen.h" | 13 #include "src/wasm/wasm-macro-gen.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(...) \ |
| 22 do { \ | 22 do { \ |
| 23 if (FLAG_trace_wasm_encoder) PrintF(__VA_ARGS__); \ | 23 if (FLAG_trace_wasm_encoder) PrintF(__VA_ARGS__); \ |
| 24 } while (false) | 24 } while (false) |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 function->name_.size()); | 444 function->name_.size()); |
| 445 } | 445 } |
| 446 buffer.write_u8(0); | 446 buffer.write_u8(0); |
| 447 } | 447 } |
| 448 FixupSection(buffer, start); | 448 FixupSection(buffer, start); |
| 449 } | 449 } |
| 450 } | 450 } |
| 451 } // namespace wasm | 451 } // namespace wasm |
| 452 } // namespace internal | 452 } // namespace internal |
| 453 } // namespace v8 | 453 } // namespace v8 |
| OLD | NEW |