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

Unified Diff: test/cctest/compiler/graph-builder-tester.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/zone-inl.h ('k') | test/cctest/compiler/simplified-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/graph-builder-tester.cc
diff --git a/test/cctest/compiler/graph-builder-tester.cc b/test/cctest/compiler/graph-builder-tester.cc
index 2d8f9d593eae859b97999db1a55d160191738ca3..a5b7ecdfec10cc58dfb2c463258b4008c2dd7499 100644
--- a/test/cctest/compiler/graph-builder-tester.cc
+++ b/test/cctest/compiler/graph-builder-tester.cc
@@ -19,7 +19,7 @@ MachineCallHelper::MachineCallHelper(Zone* zone,
void MachineCallHelper::InitParameters(GraphBuilder* builder,
CommonOperatorBuilder* common) {
- ASSERT_EQ(NULL, parameters_);
+ DCHECK_EQ(NULL, parameters_);
graph_ = builder->graph();
if (parameter_count() == 0) return;
parameters_ = builder->graph()->zone()->NewArray<Node*>(parameter_count());
@@ -30,7 +30,7 @@ void MachineCallHelper::InitParameters(GraphBuilder* builder,
byte* MachineCallHelper::Generate() {
- ASSERT(parameter_count() == 0 || parameters_ != NULL);
+ DCHECK(parameter_count() == 0 || parameters_ != NULL);
if (code_.is_null()) {
Zone* zone = graph_->zone();
CompilationInfo info(zone->isolate(), zone);
@@ -54,8 +54,8 @@ void MachineCallHelper::VerifyParameters(
Node* MachineCallHelper::Parameter(int offset) {
- ASSERT_NE(NULL, parameters_);
- ASSERT(0 <= offset && offset < parameter_count());
+ DCHECK_NE(NULL, parameters_);
+ DCHECK(0 <= offset && offset < parameter_count());
return parameters_[offset];
}
« no previous file with comments | « src/zone-inl.h ('k') | test/cctest/compiler/simplified-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698