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

Unified Diff: src/debug.cc

Issue 1210813002: Debugger: remove bogus assertion in BreakLocation constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index d966b6e7391c059b6e03cbb870e41813cb2d3895..c414e23d39b9bc86580efa349163c59dbf215441 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -70,9 +70,7 @@ BreakLocation::BreakLocation(Handle<DebugInfo> debug_info, RelocInfo* rinfo,
data_(rinfo->data()),
original_data_(original_rinfo->data()),
position_(position),
- statement_position_(statement_position) {
- DCHECK(debug_info_->GetIsolate()->debug()->is_active());
-}
+ statement_position_(statement_position) {}
BreakLocation::Iterator::Iterator(Handle<DebugInfo> debug_info,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698