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

Unified Diff: src/arm64/delayed-masm-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/decoder-arm64-inl.h ('k') | src/arm64/delayed-masm-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/delayed-masm-arm64.h
diff --git a/src/arm64/delayed-masm-arm64.h b/src/arm64/delayed-masm-arm64.h
index a8782c3dd7a5f832603ceb24e17dc37275e2a06c..76227a38983fdf5a2eb06387e480ea38595e49e9 100644
--- a/src/arm64/delayed-masm-arm64.h
+++ b/src/arm64/delayed-masm-arm64.h
@@ -33,9 +33,9 @@ class DelayedMasm BASE_EMBEDDED {
#endif
}
~DelayedMasm() {
- ASSERT(!scratch_register_acquired_);
- ASSERT(!scratch_register_used_);
- ASSERT(!pending());
+ DCHECK(!scratch_register_acquired_);
+ DCHECK(!scratch_register_used_);
+ DCHECK(!pending());
}
inline void EndDelayedUse();
@@ -53,13 +53,13 @@ class DelayedMasm BASE_EMBEDDED {
EmitPending();
ResetSavedValue();
#ifdef DEBUG
- ASSERT(!scratch_register_acquired_);
+ DCHECK(!scratch_register_acquired_);
scratch_register_acquired_ = true;
#endif
}
void ReleaseScratchRegister() {
#ifdef DEBUG
- ASSERT(scratch_register_acquired_);
+ DCHECK(scratch_register_acquired_);
scratch_register_acquired_ = false;
#endif
}
@@ -100,7 +100,7 @@ class DelayedMasm BASE_EMBEDDED {
private:
// Set the saved value and load the ScratchRegister with it.
void SetSavedValue(uint64_t saved_value) {
- ASSERT(saved_value != 0);
+ DCHECK(saved_value != 0);
if (saved_value_ != saved_value) {
masm_->Mov(ScratchRegister(), saved_value);
saved_value_ = saved_value;
« no previous file with comments | « src/arm64/decoder-arm64-inl.h ('k') | src/arm64/delayed-masm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698