Index: src/arm64/decoder-arm64.cc |
diff --git a/src/arm64/decoder-arm64.cc b/src/arm64/decoder-arm64.cc |
index 7cc41ce72e08f7a52f1233f096dabd79f23ec084..cf7dc34c581148d3d75e82ef67989b083e16744d 100644 |
--- a/src/arm64/decoder-arm64.cc |
+++ b/src/arm64/decoder-arm64.cc |
@@ -39,7 +39,7 @@ void DispatchingDecoderVisitor::InsertVisitorBefore( |
} |
// We reached the end of the list. The last element must be |
// registered_visitor. |
- ASSERT(*it == registered_visitor); |
+ DCHECK(*it == registered_visitor); |
visitors_.insert(it, new_visitor); |
} |
@@ -57,7 +57,7 @@ void DispatchingDecoderVisitor::InsertVisitorAfter( |
} |
// We reached the end of the list. The last element must be |
// registered_visitor. |
- ASSERT(*it == registered_visitor); |
+ DCHECK(*it == registered_visitor); |
visitors_.push_back(new_visitor); |
} |
@@ -70,7 +70,7 @@ void DispatchingDecoderVisitor::RemoveVisitor(DecoderVisitor* visitor) { |
#define DEFINE_VISITOR_CALLERS(A) \ |
void DispatchingDecoderVisitor::Visit##A(Instruction* instr) { \ |
if (!(instr->Mask(A##FMask) == A##Fixed)) { \ |
- ASSERT(instr->Mask(A##FMask) == A##Fixed); \ |
+ DCHECK(instr->Mask(A##FMask) == A##Fixed); \ |
} \ |
std::list<DecoderVisitor*>::iterator it; \ |
for (it = visitors_.begin(); it != visitors_.end(); it++) { \ |