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

Unified Diff: src/hydrogen-osr.cc

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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 | « src/hydrogen-mark-deoptimize.cc ('k') | src/hydrogen-range-analysis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-osr.cc
diff --git a/src/hydrogen-osr.cc b/src/hydrogen-osr.cc
index b2b15f1b97be05d337aa6475eb8915dc3a6777e0..89c28acdab9f9cbe1e1d71a8eb3b5c9ebedc2572 100644
--- a/src/hydrogen-osr.cc
+++ b/src/hydrogen-osr.cc
@@ -15,13 +15,13 @@ bool HOsrBuilder::HasOsrEntryAt(IterationStatement* statement) {
HBasicBlock* HOsrBuilder::BuildOsrLoopEntry(IterationStatement* statement) {
- ASSERT(HasOsrEntryAt(statement));
+ DCHECK(HasOsrEntryAt(statement));
Zone* zone = builder_->zone();
HGraph* graph = builder_->graph();
// only one OSR point per compile is allowed.
- ASSERT(graph->osr() == NULL);
+ DCHECK(graph->osr() == NULL);
// remember this builder as the one OSR builder in the graph.
graph->set_osr(this);
« no previous file with comments | « src/hydrogen-mark-deoptimize.cc ('k') | src/hydrogen-range-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698