mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-28 09:02:57 +00:00
IR: Add VectorTable and VectorTableLookup IR instructions
This commit is contained in:
@@ -489,7 +489,7 @@ size_t Inst::NumArgs() const {
|
||||
|
||||
Value Inst::GetArg(size_t index) const {
|
||||
ASSERT_MSG(index < GetNumArgsOf(op), "Inst::GetArg: index {} >= number of arguments of {} ({})", index, op, GetNumArgsOf(op));
|
||||
ASSERT_MSG(!args[index].IsEmpty(), "Inst::GetArg: index {} is empty", index);
|
||||
ASSERT_MSG(!args[index].IsEmpty() || GetArgTypeOf(op, index) == IR::Type::Opaque, "Inst::GetArg: index {} is empty", index, args[index].GetType());
|
||||
|
||||
return args[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user