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

Unified Diff: src/arm64/lithium-gap-resolver-arm64.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/arm64/lithium-codegen-arm64.cc ('k') | src/arm64/lithium-gap-resolver-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/lithium-gap-resolver-arm64.h
diff --git a/src/arm64/lithium-gap-resolver-arm64.h b/src/arm64/lithium-gap-resolver-arm64.h
index 3c4c200a51a4649b90e5e908937f798603b9b12f..2eb651b92419556c3e7cbfa06b9dfd0e5d00848c 100644
--- a/src/arm64/lithium-gap-resolver-arm64.h
+++ b/src/arm64/lithium-gap-resolver-arm64.h
@@ -68,7 +68,7 @@ class LGapResolver BASE_EMBEDDED {
// Registers used to solve cycles.
const Register& SavedValueRegister() {
- ASSERT(!masm_.ScratchRegister().IsAllocatable());
+ DCHECK(!masm_.ScratchRegister().IsAllocatable());
return masm_.ScratchRegister();
}
// The scratch register is used to break cycles and to store constant.
@@ -79,7 +79,7 @@ class LGapResolver BASE_EMBEDDED {
// We use the Crankshaft floating-point scratch register to break a cycle
// involving double values as the MacroAssembler will not need it for the
// operations performed by the gap resolver.
- ASSERT(!crankshaft_fp_scratch.IsAllocatable());
+ DCHECK(!crankshaft_fp_scratch.IsAllocatable());
return crankshaft_fp_scratch;
}
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/arm64/lithium-gap-resolver-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698