diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-21 13:52:51 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:32 -0400 |
commit | dd805c38b121ead74437f7b04de3bede86ec76e4 (patch) | |
tree | 746ab6dd829fbea405874c75e290781b7f1e497c /lisc | |
parent | c34cde0e6c0900b600951ce961469543fe52f217 (diff) | |
download | roux-dd805c38b121ead74437f7b04de3bede86ec76e4.tar.gz |
add test scaffolding code
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/rega.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisc/rega.c b/lisc/rega.c index f8cd3d4..aa7fc2a 100644 --- a/lisc/rega.c +++ b/lisc/rega.c @@ -261,6 +261,9 @@ dopm(Blk *b, Ins *i, RMap *m) radd(m, r, r); } pmgen(); +#ifdef TEST_PMOV + return 0; +#endif nins = curi-insb; ib = alloc((b->nins + nins - (i1-i)) * sizeof(Ins)); memcpy(ip = ib, b->ins, (i - b->ins) * sizeof(Ins)); |