diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-11-24 11:08:33 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-11-27 21:48:21 +0100 |
commit | 9126afa2da0e1635d78429075cc44ca576f68169 (patch) | |
tree | 0836f3da0fdfee9af24ca5dabb8244af61e5283e /all.h | |
parent | b5da3f3d64c857baf808220e202dc37c5c039eb8 (diff) | |
download | roux-9126afa2da0e1635d78429075cc44ca576f68169.tar.gz |
new hlt block terminator
It is handy to express when the end of a block cannot be reached. If a hlt terminator is executed, it traps the program. We don't go the llvm way and specify execution semantics as undefined behavior.
Diffstat (limited to 'all.h')
-rw-r--r-- | all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/all.h b/all.h index d852609..3ddb944 100644 --- a/all.h +++ b/all.h @@ -154,7 +154,7 @@ enum J { X(jfisle) X(jfislt) X(jfiuge) X(jfiugt) \ X(jfiule) X(jfiult) X(jffeq) X(jffge) \ X(jffgt) X(jffle) X(jfflt) X(jffne) \ - X(jffo) X(jffuo) + X(jffo) X(jffuo) X(hlt) #define X(j) J##j, JMPS(X) #undef X |