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

Unified Diff: src/compiler/node-properties-inl.h

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/node-matchers.h ('k') | src/compiler/phi-reducer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-properties-inl.h
diff --git a/src/compiler/node-properties-inl.h b/src/compiler/node-properties-inl.h
index 1eef6f3c47bda7ecc16b6ecf12f719daa7ff6e41..f76bc5f1d7b482c5dd190e22258f80ded05abedb 100644
--- a/src/compiler/node-properties-inl.h
+++ b/src/compiler/node-properties-inl.h
@@ -93,22 +93,22 @@ inline int NodeProperties::PastControlIndex(Node* node) {
// Input accessors.
inline Node* NodeProperties::GetValueInput(Node* node, int index) {
- ASSERT(0 <= index && index < GetValueInputCount(node));
+ DCHECK(0 <= index && index < GetValueInputCount(node));
return node->InputAt(FirstValueIndex(node) + index);
}
inline Node* NodeProperties::GetContextInput(Node* node) {
- ASSERT(GetContextInputCount(node) > 0);
+ DCHECK(GetContextInputCount(node) > 0);
return node->InputAt(FirstContextIndex(node));
}
inline Node* NodeProperties::GetEffectInput(Node* node, int index) {
- ASSERT(0 <= index && index < GetEffectInputCount(node));
+ DCHECK(0 <= index && index < GetEffectInputCount(node));
return node->InputAt(FirstEffectIndex(node) + index);
}
inline Node* NodeProperties::GetControlInput(Node* node, int index) {
- ASSERT(0 <= index && index < GetControlInputCount(node));
+ DCHECK(0 <= index && index < GetControlInputCount(node));
return node->InputAt(FirstControlIndex(node) + index);
}
@@ -208,7 +208,7 @@ inline bool NodeProperties::IsScheduleRoot(Node* node) {
inline void NodeProperties::ReplaceEffectInput(Node* node, Node* effect,
int index) {
- ASSERT(index < GetEffectInputCount(node));
+ DCHECK(index < GetEffectInputCount(node));
return node->ReplaceInput(
GetValueInputCount(node) + GetContextInputCount(node) + index, effect);
}
« no previous file with comments | « src/compiler/node-matchers.h ('k') | src/compiler/phi-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698