chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599fe2c
)
src/method-impl.lisp: There's a handy definition `c-type-void', so use it.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 29 Aug 2015 13:33:02 +0000
(14:33 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 30 Aug 2015 17:11:39 +0000
(18:11 +0100)
src/method-impl.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/method-impl.lisp
b/src/method-impl.lisp
index 3fd6f08585105f2126c842e9d18e215f2d6c6c5f..8de19da26be0dd52198929171094cd09c3ddd2f9 100644
(file)
--- a/
src/method-impl.lisp
+++ b/
src/method-impl.lisp
@@
-462,7
+462,7
@@
(defmethod compute-method-entry-functions ((method basic-effective-method))
;; Generate the method body. We'll work out what to do with it later.
(codegen-push codegen)
- (let* ((result (if (eq return-type
(c-type void)
) nil
+ (let* ((result (if (eq return-type
c-type-void
) nil
(temporary-var codegen return-type)))
(emf-target (or result :void)))
(compute-effective-method-body method codegen emf-target)