Skip to content

Commit 102fceb

Browse files
committed
Removed a deprecated use of an asmjit function
1 parent 598a91e commit 102fceb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cult/instbench.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ void InstBench::run() {
613613
/*
614614
if (specs.size() == 0) {
615615
asmjit::String name;
616-
InstAPI::instIdToString(Environment::kArchHost, instId, name);
616+
InstAPI::instIdToString(Environment::kArchHost, instId, InstStringifyOptions::kNone, name);
617617
printf("MISSING SPEC: %s\n", name.data());
618618
}
619619
*/
@@ -638,7 +638,7 @@ void InstBench::run() {
638638
sb.append("call+ret");
639639
}
640640
else {
641-
InstAPI::instIdToString(Arch::kHost, instId, sb);
641+
InstAPI::instIdToString(Arch::kHost, instId, InstStringifyOptions::kNone, sb);
642642
}
643643

644644
for (uint32_t i = 0; i < opCount; i++) {
@@ -982,7 +982,7 @@ double InstBench::testInstruction(InstId instId, InstSpec instSpec, uint32_t par
982982
Func func = compileFunc();
983983
if (!func) {
984984
String name;
985-
InstAPI::instIdToString(Arch::kHost, instId, name);
985+
InstAPI::instIdToString(Arch::kHost, instId, InstStringifyOptions::kNone, name);
986986
printf("FAILED to compile function for '%s' instruction\n", name.data());
987987
return -1.0;
988988
}

0 commit comments

Comments
 (0)