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

Unified Diff: src/debug.cc

Issue 10548004: Fix failing assertion in r11782. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 a748b4cc7a10a984a5bb2accb437f334c46918a1..c7a55f4c1977fe0bf456e016d1877d35df784113 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -2118,8 +2118,8 @@ bool Debug::EnsureDebugInfo(Handle<SharedFunctionInfo> shared,
return true;
}
- // Make sure we are prepared to handle breakpoints.
- ASSERT(has_break_points_);
+ // There will be at least one break point when we are done.
+ has_break_points_ = true;
// Ensure function is compiled. Return false if this failed.
if (!function.is_null() &&
« 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