diff options
Diffstat (limited to 'src/cljcc/emit.clj')
| -rw-r--r-- | src/cljcc/emit.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljcc/emit.clj b/src/cljcc/emit.clj index 514cd45..d18edb3 100644 --- a/src/cljcc/emit.clj +++ b/src/cljcc/emit.clj @@ -48,7 +48,7 @@ (let [operand (operand-emit (:operand instruction)) assembly-operator (condp = (:unary-operator instruction) :complement "notl" - :hyphen "negl" + :negate "negl" (throw (AssertionError. (str "Invalid unary operator: " instruction))))] [(format " %s %s" assembly-operator operand)])) |
