diff options
author | comex | 2015-02-23 00:41:29 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d (patch) | |
tree | db70eb338a0107fdc70992ea2522fd03f2ecf32e /test/test-td-simple.c | |
parent | fix some i386 stuff (diff) | |
download | substitute-b63f1dff9dc736f7fa66f04976436f1f3fe2ac5d.tar.gz |
Ban calls within transform regions in threadsafe mode.
Diffstat (limited to 'test/test-td-simple.c')
-rw-r--r-- | test/test-td-simple.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-td-simple.c b/test/test-td-simple.c index be84ef3..d776d0e 100644 --- a/test/test-td-simple.c +++ b/test/test-td-simple.c @@ -49,6 +49,11 @@ static void P_ret(UNUSED struct tc *ctx) { } NOINLINE UNUSED +static void P_indirect_call(UNUSED struct tc *ctx) { + printf("indirect call\n"); +} + +NOINLINE UNUSED static void P_branch(UNUSED struct tc *ctx, uint64_t dpc, int cc) { printf("branch(%s,%s) => %08llx\n", (cc & CC_CONDITIONAL) ? "cond" : "uncond", |