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

Unified Diff: runtime/vm/stack_frame.cc

Issue 619903002: Generalize bounds checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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/stack_frame.cc
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
index a22e40ad966a3d66ffbd6ae27fa5b1541d1aecf5..950f02ec140013a495c48eaca3a0f0f74005adeb 100644
--- a/runtime/vm/stack_frame.cc
+++ b/runtime/vm/stack_frame.cc
@@ -432,7 +432,8 @@ InlinedFunctionsIterator::InlinedFunctionsIterator(const Code& code, uword pc)
ASSERT(pc_ != 0);
ASSERT(code.ContainsInstructionAt(pc));
ICData::DeoptReasonId deopt_reason = ICData::kDeoptUnknown;
- deopt_info_ = code_.GetDeoptInfoAtPc(pc, &deopt_reason);
+ uint32_t deopt_flags = 0;
+ deopt_info_ = code_.GetDeoptInfoAtPc(pc, &deopt_reason, &deopt_flags);
if (deopt_info_.IsNull()) {
// This is the case when a call without deopt info in optimized code
// throws an exception. (e.g. in the parameter copying prologue).

Powered by Google App Engine
This is Rietveld 408576698