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

Unified Diff: src/compiler/simplified-lowering.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/compiler/scheduler.cc ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index 44eed8fddfd64d417c749b94e50f58ea82dd50cd..a0a8967c1da64bac060dcd1b5c00d3c13721f1e3 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -40,7 +40,7 @@ Node* SimplifiedLowering::OffsetMinusTagConstant(int32_t offset) {
static void UpdateControlSuccessors(Node* before, Node* node) {
- ASSERT(IrOpcode::IsControlOpcode(before->opcode()));
+ DCHECK(IrOpcode::IsControlOpcode(before->opcode()));
UseIter iter = before->uses().begin();
while (iter != before->uses().end()) {
if (IrOpcode::IsControlOpcode((*iter)->opcode()) &&
@@ -118,7 +118,7 @@ void SimplifiedLowering::DoChangeUI32ToTagged(Node* node, Node* effect,
if (is_signed) {
if (SmiValuesAre32Bits()) {
// All int32s fit in this case.
- ASSERT(kPointerSize == 8);
+ DCHECK(kPointerSize == 8);
return node->ReplaceUses(SmiTag(val));
} else {
// TODO(turbofan): use an Int32AddWithOverflow to tag and check here.
« no previous file with comments | « src/compiler/scheduler.cc ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698