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

Unified Diff: src/isolate.cc

Issue 2069823003: [wasm] Enable wasm frame inspection for debugging (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@split-wasm-debug
Patch Set: Add two DCHECKs Created 4 years, 6 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
« no previous file with comments | « src/isolate.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index c5e2640544d0f352d3eea38b8e004812d6414c7a..edf92eec5cb8e84f7534337a4abfce1c1cb132a7 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -628,6 +628,11 @@ class CaptureStackTraceHelper {
isolate_->factory()->NewNumberFromInt(position),
NONE);
}
+ if (!script_id_key_.is_null()) {
+ int script_id = frame->script()->id();
+ JSObject::AddProperty(stack_frame, script_id_key_,
+ handle(Smi::FromInt(script_id), isolate_), NONE);
+ }
return stack_frame;
}
« no previous file with comments | « src/isolate.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698