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_DECODER_H_ | 5 #ifndef V8_WASM_DECODER_H_ |
6 #define V8_WASM_DECODER_H_ | 6 #define V8_WASM_DECODER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/base/compiler-specific.h" | 10 #include "src/base/compiler-specific.h" |
11 #include "src/flags.h" | 11 #include "src/flags.h" |
12 #include "src/signature.h" | 12 #include "src/signature.h" |
13 #include "src/utils.h" | 13 #include "src/utils.h" |
14 #include "src/wasm/wasm-result.h" | 14 #include "src/wasm/wasm-result.h" |
15 #include "src/zone-containers.h" | 15 #include "src/zone/zone-containers.h" |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 namespace wasm { | 19 namespace wasm { |
20 | 20 |
21 #if DEBUG | 21 #if DEBUG |
22 #define TRACE(...) \ | 22 #define TRACE(...) \ |
23 do { \ | 23 do { \ |
24 if (FLAG_trace_wasm_decoder) PrintF(__VA_ARGS__); \ | 24 if (FLAG_trace_wasm_decoder) PrintF(__VA_ARGS__); \ |
25 } while (false) | 25 } while (false) |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 return result; | 371 return result; |
372 } | 372 } |
373 }; | 373 }; |
374 | 374 |
375 #undef TRACE | 375 #undef TRACE |
376 } // namespace wasm | 376 } // namespace wasm |
377 } // namespace internal | 377 } // namespace internal |
378 } // namespace v8 | 378 } // namespace v8 |
379 | 379 |
380 #endif // V8_WASM_DECODER_H_ | 380 #endif // V8_WASM_DECODER_H_ |
OLD | NEW |