diff options
| author | Andrea Corallo | 2019-08-18 10:34:18 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:34:01 +0100 |
| commit | 52089993aa3231ccdfd0469aeb7c3e7b6b89edad (patch) | |
| tree | 29612eb19843782158bcfcbefa61ab623f8e3019 | |
| parent | f4603ab67438ec1a31b35918608dc4db410be9c5 (diff) | |
| download | emacs-52089993aa3231ccdfd0469aeb7c3e7b6b89edad.tar.gz emacs-52089993aa3231ccdfd0469aeb7c3e7b6b89edad.zip | |
no need to quote types into structs
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 9c31206cc2e..fdb1b386132 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -97,7 +97,7 @@ To be used when ncall-conv is nil.")) | |||
| 97 | (sp nil | 97 | (sp nil |
| 98 | :documentation "When non nil indicates the sp value while entering | 98 | :documentation "When non nil indicates the sp value while entering |
| 99 | into it.") | 99 | into it.") |
| 100 | (closed nil :type 'boolean | 100 | (closed nil :type boolean |
| 101 | :documentation "If the block was already closed.") | 101 | :documentation "If the block was already closed.") |
| 102 | (insns () :type list | 102 | (insns () :type list |
| 103 | :documentation "List of instructions.")) | 103 | :documentation "List of instructions.")) |
| @@ -106,7 +106,7 @@ into it.") | |||
| 106 | "LIMPLE representation of a function." | 106 | "LIMPLE representation of a function." |
| 107 | (symbol-name nil | 107 | (symbol-name nil |
| 108 | :documentation "Function symbol's name.") | 108 | :documentation "Function symbol's name.") |
| 109 | (c-func-name nil :type 'string | 109 | (c-func-name nil :type string |
| 110 | :documentation "The function name in the native world.") | 110 | :documentation "The function name in the native world.") |
| 111 | (func nil | 111 | (func nil |
| 112 | :documentation "Original form.") | 112 | :documentation "Original form.") |
| @@ -114,15 +114,15 @@ into it.") | |||
| 114 | :documentation "Byte compiled version.") | 114 | :documentation "Byte compiled version.") |
| 115 | (lap () :type list | 115 | (lap () :type list |
| 116 | :documentation "Lap assembly representation.") | 116 | :documentation "Lap assembly representation.") |
| 117 | (args nil :type 'comp-args-base) | 117 | (args nil :type comp-args-base) |
| 118 | (frame-size nil :type 'number) | 118 | (frame-size nil :type number) |
| 119 | (blocks (make-hash-table) :type 'hash-table | 119 | (blocks (make-hash-table) :type hash-table |
| 120 | :documentation "Key is the basic block symbol value is a comp-block | 120 | :documentation "Key is the basic block symbol value is a comp-block |
| 121 | structure.") | 121 | structure.") |
| 122 | (lap-block (make-hash-table :test #'equal) :type 'hash-table | 122 | (lap-block (make-hash-table :test #'equal) :type hash-table |
| 123 | :documentation "Key value to convert from LAP label number to | 123 | :documentation "Key value to convert from LAP label number to |
| 124 | LIMPLE basic block.") | 124 | LIMPLE basic block.") |
| 125 | (ssa-cnt -1 :type 'number | 125 | (ssa-cnt -1 :type number |
| 126 | :documentation "Counter to create ssa limple vars.")) | 126 | :documentation "Counter to create ssa limple vars.")) |
| 127 | 127 | ||
| 128 | (cl-defstruct (comp-mvar (:copier nil) (:constructor make--comp-mvar)) | 128 | (cl-defstruct (comp-mvar (:copier nil) (:constructor make--comp-mvar)) |
| @@ -141,11 +141,11 @@ LIMPLE basic block.") | |||
| 141 | 141 | ||
| 142 | (cl-defstruct (comp-limplify (:copier nil)) | 142 | (cl-defstruct (comp-limplify (:copier nil)) |
| 143 | "Support structure used during limplification." | 143 | "Support structure used during limplification." |
| 144 | (sp 0 :type 'fixnum | 144 | (sp 0 :type fixnum |
| 145 | :documentation "Current stack pointer while walking LAP.") | 145 | :documentation "Current stack pointer while walking LAP.") |
| 146 | (frame nil :type 'vector | 146 | (frame nil :type vector |
| 147 | :documentation "Meta-stack used to flat LAP.") | 147 | :documentation "Meta-stack used to flat LAP.") |
| 148 | (block-name nil :type 'symbol | 148 | (block-name nil :type symbol |
| 149 | :documentation "Current basic block name.")) | 149 | :documentation "Current basic block name.")) |
| 150 | 150 | ||
| 151 | (defmacro comp-within-log-buff (&rest body) | 151 | (defmacro comp-within-log-buff (&rest body) |