| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_MODULE_RUNNER_H_ | 5 #ifndef V8_WASM_MODULE_RUNNER_H_ |
| 6 #define V8_WASM_MODULE_RUNNER_H_ | 6 #define V8_WASM_MODULE_RUNNER_H_ |
| 7 | 7 |
| 8 #include "src/handles.h" | 8 #include "src/handles.h" |
| 9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| 11 #include "src/wasm/wasm-interpreter.h" | 11 #include "src/wasm/wasm-interpreter.h" |
| 12 #include "src/wasm/wasm-module.h" | 12 #include "src/wasm/wasm-module.h" |
| 13 #include "src/wasm/wasm-result.h" | 13 #include "src/wasm/wasm-result.h" |
| 14 #include "src/zone.h" | 14 #include "src/zone/zone.h" |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 namespace wasm { | 18 namespace wasm { |
| 19 namespace testing { | 19 namespace testing { |
| 20 | 20 |
| 21 // Decodes the given encoded module. | 21 // Decodes the given encoded module. |
| 22 const WasmModule* DecodeWasmModuleForTesting(Isolate* isolate, Zone* zone, | 22 const WasmModule* DecodeWasmModuleForTesting(Isolate* isolate, Zone* zone, |
| 23 ErrorThrower* thrower, | 23 ErrorThrower* thrower, |
| 24 const byte* module_start, | 24 const byte* module_start, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 48 WasmVal* args); | 48 WasmVal* args); |
| 49 | 49 |
| 50 // Install function map, module symbol for testing | 50 // Install function map, module symbol for testing |
| 51 void SetupIsolateForWasmModule(Isolate* isolate); | 51 void SetupIsolateForWasmModule(Isolate* isolate); |
| 52 } // namespace testing | 52 } // namespace testing |
| 53 } // namespace wasm | 53 } // namespace wasm |
| 54 } // namespace internal | 54 } // namespace internal |
| 55 } // namespace v8 | 55 } // namespace v8 |
| 56 | 56 |
| 57 #endif // V8_WASM_MODULE_RUNNER_H_ | 57 #endif // V8_WASM_MODULE_RUNNER_H_ |
| OLD | NEW |