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

Unified Diff: runtime/vm/native_entry.cc

Issue 2845053003: Fix asserts in StackFrameIterator which were effectively disabled (Closed)
Patch Set: remote two assertions which cannot be made 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: runtime/vm/native_entry.cc
diff --git a/runtime/vm/native_entry.cc b/runtime/vm/native_entry.cc
index ecd4f0c268e0113cf2747e5725379fadc495e6b9..a8a3f064c35e31fa243bd260451c62e3af0025cb 100644
--- a/runtime/vm/native_entry.cc
+++ b/runtime/vm/native_entry.cc
@@ -264,7 +264,7 @@ void NativeEntry::LinkNativeCall(Dart_NativeArguments args) {
StackZone stack_zone(arguments->thread());
Zone* zone = stack_zone.GetZone();
- DartFrameIterator iterator;
+ DartFrameIterator iterator(arguments->thread(), false);
StackFrame* caller_frame = iterator.NextFrame();
const Code& code = Code::Handle(zone, caller_frame->LookupDartCode());
« runtime/vm/debugger.cc ('K') | « runtime/vm/isolate_reload.cc ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698