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

Unified Diff: runtime/vm/stack_frame.cc

Issue 360373003: Enable top exit frame profiler mode by default + Windows fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « runtime/vm/stack_frame.h ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.cc
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
index 2c60c47dae6fc8e5330e8031b65bf425deda1264..0c5961231a3951bd780f69a3c29d74009a1b6601 100644
--- a/runtime/vm/stack_frame.cc
+++ b/runtime/vm/stack_frame.cc
@@ -268,8 +268,7 @@ bool StackFrame::IsValid() const {
void StackFrameIterator::SetupLastExitFrameData() {
- Isolate* current = Isolate::Current();
- uword exit_marker = current->top_exit_frame_info();
+ uword exit_marker = isolate_->top_exit_frame_info();
frames_.fp_ = exit_marker;
}
@@ -368,7 +367,7 @@ StackFrame* StackFrameIterator::NextFrame() {
return current_frame_;
}
ASSERT(current_frame_->IsExitFrame() ||
- current_frame_->IsDartFrame() ||
+ current_frame_->IsDartFrame(validate_) ||
current_frame_->IsStubFrame());
// Consume dart/stub frames using StackFrameIterator::FrameSetIterator
« no previous file with comments | « runtime/vm/stack_frame.h ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698