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

Unified Diff: src/isolate.cc

Issue 2795103004: [inspector] introduced StackFrame::IsWasm flag (Closed)
Patch Set: Created 3 years, 8 months 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/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 9131b1bec35d920e98d4b2ec357b41fd6ae1aad0..fa523cb473fe7a00efd4da9026ec7b65d9fe9451 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -681,6 +681,7 @@ class CaptureStackTraceHelper {
if (*new_cache != *cache) {
PutCache(source_position_table, cache);
}
+ frame->set_is_wasm(false);
return frame;
}
@@ -709,6 +710,7 @@ class CaptureStackTraceHelper {
if (options_ & StackTrace::kScriptId) {
info->set_script_id(summ.script()->id());
}
+ info->set_is_wasm(true);
return info;
}
« include/v8.h ('K') | « src/inspector/v8-stack-trace-impl.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698