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

Unified Diff: src/frames.cc

Issue 2490663002: [wasm] Move all heap-allocated WASM structures into wasm-objects.h. (Closed)
Patch Set: 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..0a365ec8fc945fba34208b54926a1f8e1b541c6b 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -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/asmjs/asm-js.cc ('k') | src/runtime/runtime-debug.cc » ('j') | src/wasm/wasm-module.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698