Fix test table (needed comma at end of line to compile).

Also, re-align table columns.
This commit is contained in:
Michael Munday 2016-12-06 09:16:30 -05:00
parent 1362e9aee2
commit b24d490a42

View File

@ -102,14 +102,14 @@ typedef struct {
} test_table; } test_table;
test_table test[] = { test_table test[] = {
{ 1, 2, add, 3, "add"}, { 1, 2, add, 3, "add"},
{10, 5, sub, 5, "sub"}, {10, 5, sub, 5, "sub"},
{ 2, 3, mul, 6, "mul"}, { 2, 3, mul, 6, "mul"},
{ 5, 7, rx, 12298, "rx"}, { 5, 7, rx, 12298, "rx"},
{ 5, 7, rxy, 10, "rxy"}, { 5, 7, rxy, 10, "rxy"},
{ 2, 4, lab, 32, "lab"}, { 2, 4, lab, 32, "lab"},
{ 2, 0, add_imm16,17, "imm16"} { 2, 0, add_imm16, 17, "imm16"},
{ 2, 0, add_imm32,16, "imm32"} { 2, 0, add_imm32, 16, "imm32"}
}; };
static void *jitcode(dasm_State **state, size_t *size) static void *jitcode(dasm_State **state, size_t *size)