projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
protect against read-time package-lock circumvention from LOCKED::(BAR)
[sbcl.git]
/
src
/
compiler
/
ir2opt.lisp
diff --git
a/src/compiler/ir2opt.lisp
b/src/compiler/ir2opt.lisp
index
9919074
..
b664980
100644
(file)
--- a/
src/compiler/ir2opt.lisp
+++ b/
src/compiler/ir2opt.lisp
@@
-181,7
+181,7
@@
(maybe-convert-one-cmov 2block)))
(defun delete-unused-ir2-blocks (component)
(maybe-convert-one-cmov 2block)))
(defun delete-unused-ir2-blocks (component)
- (declare (component component))
+ (declare (type component component))
(let ((live-2blocks (make-hash-table)))
(labels ((mark-2block (2block)
(declare (type ir2-block 2block))
(let ((live-2blocks (make-hash-table)))
(labels ((mark-2block (2block)
(declare (type ir2-block 2block))
@@
-211,7
+211,9
@@
(do ((2block (ir2-block-next 2block)
(ir2-block-next 2block)))
((null 2block) nil)
(do ((2block (ir2-block-next 2block)
(ir2-block-next 2block)))
((null 2block) nil)
- (cond ((eq target (ir2-block-%label 2block))
+ (cond ((ir2-block-%trampoline-label 2block)
+ (return nil))
+ ((eq target (ir2-block-%label 2block))
(return t))
((ir2-block-start-vop 2block)
(return nil)))))))
(return t))
((ir2-block-start-vop 2block)
(return nil)))))))