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

Unified Diff: src/debug/debug.cc

Issue 1802903002: [interpreter, debugger] fix remaining cctest failures. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/interpreter/bytecode-generator.cc » ('j') | src/interpreter/bytecode-generator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.cc
diff --git a/src/debug/debug.cc b/src/debug/debug.cc
index 67ca2410da43fd5c342974bcf3f3137ed24d9e07..b255bb81a1dd80db2b46599382491d05d74a2b99 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -200,7 +200,6 @@ void BreakLocation::BytecodeArrayIterator::Next() {
}
DCHECK(position_ >= 0);
DCHECK(statement_position_ >= 0);
- break_index_++;
enum DebugBreakType type = GetDebugBreakType();
if (type == NOT_DEBUG_BREAK) continue;
@@ -215,6 +214,7 @@ void BreakLocation::BytecodeArrayIterator::Next() {
break;
}
}
+ break_index_++;
}
BreakLocation::DebugBreakType
« no previous file with comments | « no previous file | src/interpreter/bytecode-generator.cc » ('j') | src/interpreter/bytecode-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698