X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fprofile.lisp;h=b6b2a216f186037fbf1087c8b0c95a130f115798;hb=a572ab7de4266dec958d50612a8376df6bb45226;hp=15b8c74a339066abeae102b8df20641d2eadf29f;hpb=81880593109f9f359cd06dc5c4323750ccc2bf21;p=sbcl.git diff --git a/src/code/profile.lisp b/src/code/profile.lisp index 15b8c74..b6b2a21 100644 --- a/src/code/profile.lisp +++ b/src/code/profile.lisp @@ -145,7 +145,7 @@ (values ;; ENCAPSULATION-FUN (lambda (&more arg-context arg-count) - (declare (optimize speed safety)) + (declare (optimize speed safety sb-c::stack-allocate-dynamic-extent)) ;; Make sure that we're not recursing infinitely. (when (boundp '*computing-profiling-data-for*) (unprofile-all) ; to avoid further recursion @@ -158,8 +158,8 @@ (let ((dticks 0) (dconsing 0) (inner-enclosed-profiles 0)) - (declare (type unsigned-byte dticks dconsing)) - (declare (type unsigned-byte inner-enclosed-profiles)) + (declare (type unsigned-byte dticks dconsing inner-enclosed-profiles) + (dynamic-extent dticks dconsing inner-enclosed-profiles)) (aver (typep dticks 'unsigned-byte)) (aver (typep dconsing 'unsigned-byte)) (aver (typep inner-enclosed-profiles 'unsigned-byte))