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 #include "src/assert-scope.h" | 5 #include "src/assert-scope.h" |
6 #include "src/debug/debug.h" | 6 #include "src/debug/debug.h" |
7 #include "src/factory.h" | 7 #include "src/factory.h" |
8 #include "src/isolate.h" | 8 #include "src/isolate.h" |
9 #include "src/wasm/module-decoder.h" | 9 #include "src/wasm/module-decoder.h" |
10 #include "src/wasm/wasm-module.h" | 10 #include "src/wasm/wasm-module.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 | 30 |
31 WasmDebugInfo *WasmDebugInfo::cast(Object *object) { | 31 WasmDebugInfo *WasmDebugInfo::cast(Object *object) { |
32 DCHECK(IsDebugInfo(object)); | 32 DCHECK(IsDebugInfo(object)); |
33 return reinterpret_cast<WasmDebugInfo *>(object); | 33 return reinterpret_cast<WasmDebugInfo *>(object); |
34 } | 34 } |
35 | 35 |
36 WasmInstanceObject *WasmDebugInfo::wasm_instance() { | 36 WasmInstanceObject *WasmDebugInfo::wasm_instance() { |
37 return WasmInstanceObject::cast(get(kInstance)); | 37 return WasmInstanceObject::cast(get(kInstance)); |
38 } | 38 } |
| 39 |
| 40 void WasmDebugInfo::RunInterpreter(Handle<WasmDebugInfo> debug_info, |
| 41 int func_index, uint8_t *arg_buffer) { |
| 42 // TODO(clemensh): Implement this. |
| 43 UNIMPLEMENTED(); |
| 44 } |
OLD | NEW |