mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-28 02:05:00 +01:00
assert: Use fmt in ASSERT_MSG
This commit is contained in:
parent
b60c7f31c1
commit
d7044bc751
17 changed files with 68 additions and 38 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <numeric>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/ostream.h>
|
||||
#include <xbyak.h>
|
||||
|
||||
#include "backend_x64/abi.h"
|
||||
|
|
@ -49,7 +50,7 @@ static size_t GetBitWidth(IR::Type type) {
|
|||
case IR::Type::CoprocInfo:
|
||||
case IR::Type::Cond:
|
||||
case IR::Type::Void:
|
||||
ASSERT_MSG(false, "Type %zu cannot be represented at runtime", static_cast<size_t>(type));
|
||||
ASSERT_MSG(false, "Type {} cannot be represented at runtime", type);
|
||||
return 0;
|
||||
case IR::Type::Opaque:
|
||||
ASSERT_MSG(false, "Not a concrete type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue