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

Unified Diff: runtime/vm/object.cc

Issue 10835034: Fix an off-by-one error in the stack frame iteration. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 3102b7491b1a93005e3035029b184af23adcda02..bef35bcaaf436bfe5f11abe3d3f5716d5cbf404d 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -7113,8 +7113,8 @@ intptr_t Code::ExtractIcDataArraysAtCalls(
RawStackmap* Code::GetStackmap(uword pc, Array* maps, Stackmap* map) const {
- // This code is used only during iterating frames during a GC and hence
- // it should not in turn start a GC.
+ // This code is used during iterating frames during a GC and hence it
+ // should not in turn start a GC.
NoGCScope no_gc;
if (stackmaps() == Array::null()) {
// No stack maps are present in the code object which means this

Powered by Google App Engine
This is Rietveld 408576698