diff options
| author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-07 16:04:07 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:30 -0400 |
| commit | e240ec3026d1eb827e411605d5506585e255a090 (patch) | |
| tree | 4c5d778722800a5adbcb9ac1ee6885d5fcc6037b | |
| parent | e65a615c903c96eaaad17a05e83d1d763cc21675 (diff) | |
| download | roux-e240ec3026d1eb827e411605d5506585e255a090.tar.gz | |
I forgot cmp as flag setting instruction!
| -rw-r--r-- | lisc/isel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index 7feb6f7..bcbc5ba 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -138,6 +138,8 @@ flagi(Ins *i0, Ins *i) while (i>i0) switch ((--i)->op) { default: + if (OCmp <= i->op && i->op <= OCmp1) + return i; return 0; case OAdd: /* <arch> */ case OSub: |
