| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/runtime/runtime-utils.h" | 5 #include "src/runtime/runtime-utils.h" |
| 6 | 6 |
| 7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
| 8 #include "src/debug/debug-evaluate.h" | 8 #include "src/debug/debug-evaluate.h" |
| 9 #include "src/debug/debug-frames.h" | 9 #include "src/debug/debug-frames.h" |
| 10 #include "src/debug/debug-scopes.h" | 10 #include "src/debug/debug-scopes.h" |
| 11 #include "src/debug/debug.h" | 11 #include "src/debug/debug.h" |
| 12 #include "src/debug/liveedit.h" |
| 12 #include "src/frames-inl.h" | 13 #include "src/frames-inl.h" |
| 13 #include "src/globals.h" | 14 #include "src/globals.h" |
| 14 #include "src/interpreter/bytecodes.h" | 15 #include "src/interpreter/bytecodes.h" |
| 15 #include "src/interpreter/interpreter.h" | 16 #include "src/interpreter/interpreter.h" |
| 16 #include "src/isolate-inl.h" | 17 #include "src/isolate-inl.h" |
| 17 #include "src/runtime/runtime.h" | 18 #include "src/runtime/runtime.h" |
| 18 #include "src/wasm/wasm-debug.h" | 19 #include "src/wasm/wasm-debug.h" |
| 19 #include "src/wasm/wasm-module.h" | 20 #include "src/wasm/wasm-module.h" |
| 20 | 21 |
| 21 namespace v8 { | 22 namespace v8 { |
| (...skipping 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1865 Handle<Script> script = Handle<Script>(Script::cast(script_val->value())); | 1866 Handle<Script> script = Handle<Script>(Script::cast(script_val->value())); |
| 1866 | 1867 |
| 1867 Handle<wasm::WasmDebugInfo> debug_info = | 1868 Handle<wasm::WasmDebugInfo> debug_info = |
| 1868 wasm::GetDebugInfo(handle(script->wasm_object(), isolate)); | 1869 wasm::GetDebugInfo(handle(script->wasm_object(), isolate)); |
| 1869 return *wasm::WasmDebugInfo::DisassembleFunction( | 1870 return *wasm::WasmDebugInfo::DisassembleFunction( |
| 1870 debug_info, script->wasm_function_index()); | 1871 debug_info, script->wasm_function_index()); |
| 1871 } | 1872 } |
| 1872 | 1873 |
| 1873 } // namespace internal | 1874 } // namespace internal |
| 1874 } // namespace v8 | 1875 } // namespace v8 |
| OLD | NEW |