Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1297)

Unified Diff: src/frames.cc

Issue 2490663002: [wasm] Move all heap-allocated WASM structures into wasm-objects.h. (Closed)
Patch Set: More dead code Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index 3df27632328c1146683b1eab301b40ece035299d..4ac44fc1aa631e01572c44d08e9e1cf9e8aa017f 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -15,8 +15,8 @@
#include "src/safepoint-table.h"
#include "src/string-stream.h"
#include "src/vm-state-inl.h"
-#include "src/wasm/wasm-debug.h"
#include "src/wasm/wasm-module.h"
+#include "src/wasm/wasm-objects.h"
namespace v8 {
namespace internal {
@@ -1518,8 +1518,8 @@ Script* WasmFrame::script() const {
if (wasm::WasmIsAsmJs(*instance, isolate())) {
return *wasm::GetAsmWasmScript(instance);
}
- Handle<wasm::WasmDebugInfo> debug_info = wasm::GetDebugInfo(instance);
- return wasm::WasmDebugInfo::GetFunctionScript(debug_info, function_index());
+ Handle<WasmDebugInfo> debug_info = wasm::GetDebugInfo(instance);
+ return WasmDebugInfo::GetFunctionScript(debug_info, function_index());
}
int WasmFrame::position() const {
« no previous file with comments | « src/debug/debug.cc ('k') | src/runtime/runtime-debug.cc » ('j') | src/wasm/wasm-module.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698