X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/aa14a4cddcb96b681d5c19a2ec8bad382f43b264..7bfe3a370a6a56a0f097fc1e357ca8ac798d9d4b:/src/codegen-impl.lisp?ds=sidebyside diff --git a/src/codegen-impl.lisp b/src/codegen-impl.lisp index 25413f8..2b23661 100644 --- a/src/codegen-impl.lisp +++ b/src/codegen-impl.lisp @@ -121,11 +121,11 @@ (defclass basic-codegen () (:documentation "Base class for code generator state. - This contains the bare essentials for supporting the EMIT-INST and - ENSURE-VAR protocols; see the documentation for those generic functions + This contains the bare essentials for supporting the `emit-inst' and + `ensure-var' protocols; see the documentation for those generic functions for more details. - This class isn't abstract. A full CODEGEN object uses instances of this + This class isn't abstract. A full `codegen' object uses instances of this to keep track of pending functions which haven't been completed yet. Just in case that wasn't clear enough: this is nothing to do with the @@ -156,7 +156,7 @@ (defclass codegen (basic-codegen) This is the real deal. Subclasses may which to attach additional state for convenience's sake, but this class is self-contained. It supports the - CODEGEN-PUSH, CODEGEN-POP and CODEGEN-POP-FUNCTION protocols.")) + `codegen-push', `codegen-pop' and `codegen-pop-function' protocols.")) (defmethod codegen-push ((codegen codegen)) (with-slots (vars insts temp-index stack) codegen