Changeset 5912


Ignore:
Timestamp:
Feb 13, 2007, 5:08:41 PM (18 years ago)
Author:
Gary Byers
Message:

Set the mxcsr/fpctrl fields of jmp-buf to safe/sane values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/objc-runtime.lisp

    r5900 r5912  
    549549  (setf (%get-ptr jmp-buf JB-rbx) throw-to-catch-frame
    550550        (%get-ptr jmp-buf JB-rip) *setjmp-catch-rip-code*)
     551  (setf (%get-unsigned-long jmp-buf JB-mxcsr) #x1f80
     552        (%get-unsigned-long jmp-buf JB-fpcontrol) #x37f)
    551553  (%set-object jmp-buf JB-RSP c-frame)
    552554  (%set-object jmp-buf JB-RBP c-frame)
Note: See TracChangeset for help on using the changeset viewer.