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

Unified Diff: src/hydrogen-load-elimination.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-instructions.cc ('k') | src/hydrogen-mark-deoptimize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-load-elimination.cc
diff --git a/src/hydrogen-load-elimination.cc b/src/hydrogen-load-elimination.cc
index 447ba34ee29661653aadf36248966a31d3dafe59..c5fd88b396ba6dda957d5ccb91ed35b1e37ccb0a 100644
--- a/src/hydrogen-load-elimination.cc
+++ b/src/hydrogen-load-elimination.cc
@@ -122,7 +122,7 @@ class HLoadEliminationTable : public ZoneObject {
HLoadEliminationTable* pred_state,
HBasicBlock* pred_block,
Zone* zone) {
- ASSERT(pred_state != NULL);
+ DCHECK(pred_state != NULL);
if (succ_state == NULL) {
return pred_state->Copy(succ_block, pred_block, zone);
} else {
@@ -135,7 +135,7 @@ class HLoadEliminationTable : public ZoneObject {
static HLoadEliminationTable* Finish(HLoadEliminationTable* state,
HBasicBlock* block,
Zone* zone) {
- ASSERT(state != NULL);
+ DCHECK(state != NULL);
return state;
}
@@ -200,7 +200,7 @@ class HLoadEliminationTable : public ZoneObject {
// which the load should be replaced. Otherwise, return {instr}.
HValue* load(HLoadNamedField* instr) {
// There must be no loads from non observable in-object properties.
- ASSERT(!instr->access().IsInobject() ||
+ DCHECK(!instr->access().IsInobject() ||
instr->access().existing_inobject_property());
int field = FieldOf(instr->access());
@@ -382,7 +382,7 @@ class HLoadEliminationTable : public ZoneObject {
// farthest away from the current instruction.
HFieldApproximation* ReuseLastApproximation(int field) {
HFieldApproximation* approx = fields_[field];
- ASSERT(approx != NULL);
+ DCHECK(approx != NULL);
HFieldApproximation* prev = NULL;
while (approx->next_ != NULL) {
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/hydrogen-mark-deoptimize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698