#include <stdio.h>
#include <xbyak/xbyak.h>
Go to the source code of this file.
◆ XBYAK_NO_OP_NAMES
#define XBYAK_NO_OP_NAMES |
◆ main()
Definition at line 105 of file jmp_table.cpp.
107{
108 for (int mode = 0; mode < 3; mode++) {
109 printf(
"mode=%d\n", mode);
110 for (int grow = 0; grow < 2; grow++) {
111 printf(
"auto grow=%s\n", grow ?
"on" :
"off");
113 int (*
f)(int) = c.getCode<int (*)(int)>();
114 c.ready();
115 for (int i = 0; i < 3; i++) {
119 printf(
"ERR i=%d, a=%d, b=%d\n", i,
a, b);
120 exit(1);
121 }
122 }
123 }
124 }
125 puts("ok");
126} catch (std::exception& e) {
127 printf(
"ERR %s\n", e.what());
128}
LOGGING_API void printf(Category category, const char *format,...)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
◆ expectTbl