change the type of Xbyak::Error from enum to a class
This commit is contained in:
parent
aadf5b1b40
commit
68fc3502a8
18 changed files with 232 additions and 199 deletions
|
@ -111,8 +111,8 @@ int main()
|
|||
y = (a.*p)(t1, t2, t3, t4, t5);
|
||||
printf("%c %d, %d\n", x == y ? 'o' : 'x', x, y);
|
||||
}
|
||||
} catch (Xbyak::Error& e) {
|
||||
printf("err=%s\n", Xbyak::ConvertErrorToString(e));
|
||||
} catch (std::exception& e) {
|
||||
printf("err=%s\n", e.what());
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue