Makes the disassembly much nicer, particularly at speed > space.
(let ((constants (sb!vm:sort-inline-constants *constant-vector*)))
(assemble (*constant-segment*)
(sb!vm:emit-constant-segment-header
+ *constant-segment*
constants
(do-ir2-blocks (2block component nil)
(when (policy (block-last (ir2-block-block 2block))
(values label (make-ea size
:disp (make-fixup nil :code-object label)))))
-(defun emit-constant-segment-header (constants optimize)
+(defun emit-constant-segment-header (segment constants optimize)
(declare (ignore constants))
- (loop repeat (if optimize 64 16) do (inst byte #x90)))
+ (emit-long-nop segment (if optimize 64 16)))
(defun size-nbyte (size)
(ecase size
(values label (make-ea size
:disp (make-fixup nil :code-object label)))))
-(defun emit-constant-segment-header (constants optimize)
+(defun emit-constant-segment-header (segment constants optimize)
(declare (ignore constants))
(loop repeat (if optimize 64 16) do (inst byte #x90)))