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
|
@ -196,8 +196,8 @@ int main(int argc, char *argv[])
|
|||
} else {
|
||||
dump(bf.getCode(), bf.getSize());
|
||||
}
|
||||
} catch (Xbyak::Error err) {
|
||||
printf("ERR:%s(%d)\n", Xbyak::ConvertErrorToString(err), err);
|
||||
} catch (std::exception& e) {
|
||||
printf("ERR:%s\n", e.what());
|
||||
} catch (...) {
|
||||
printf("unknown error\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue