Remove <cassert>

This commit is contained in:
MerryMage
2016-08-19 01:53:24 +01:00
parent 192a0029be
commit 2d6a86e43c
6 changed files with 7 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ struct ArmMatcher {
* @param instruction The instruction to decode.
*/
CallRetT call(Visitor& v, u32 instruction) const {
assert(Matches(instruction));
ASSERT(Matches(instruction));
return fn(v, instruction);
}

View File

@@ -8,7 +8,6 @@
#include <algorithm>
#include <array>
#include <cassert>
#include <tuple>
#include "common/assert.h"

View File

@@ -45,7 +45,7 @@ struct Thumb16Matcher {
* @param instruction The instruction to decode.
*/
CallRetT call(Visitor& v, u16 instruction) const {
assert(Matches(instruction));
ASSERT(Matches(instruction));
return fn(v, instruction);
}

View File

@@ -45,7 +45,7 @@ struct Thumb32Matcher {
* @param instruction The instruction to decode.
*/
CallRetT call(Visitor& v, u32 instruction) const {
assert(Matches(instruction));
ASSERT(Matches(instruction));
return fn(v, instruction);
}