aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/emit.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/emit.clj')
-rw-r--r--src/cljcc/emit.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljcc/emit.clj b/src/cljcc/emit.clj
index 2bce107..e69f07a 100644
--- a/src/cljcc/emit.clj
+++ b/src/cljcc/emit.clj
@@ -49,7 +49,7 @@
(defn- unary-instruction-emit [instruction]
(let [operand (operand-emit (:operand instruction))
assembly-operator (condp = (:unary-operator instruction)
- :complement "notl"
+ :bit-not "notl"
:negate "negl"
(throw (AssertionError. (str "Invalid unary operator: " instruction))))]
[(format " %s %s" assembly-operator operand)]))