Ignore:
Timestamp:
May 19, 2007, 8:53:02 PM (13 years ago)
Author:
gb
Message:

%%get-unsigned-longlong, %%get-signed-longlong: args in UNBOX-FIXNUM
macro were in the wrong order. Both functions are usually open-coded
(and the inlined versions seem to be OK), but the ObjC bridge funcalls
these functions when getting/setting foreign slots of the appropriate
type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-0/X86/x86-misc.lisp

    r6480 r6568  
    232232  (trap-unless-typecode= ptr x8664::subtag-macptr)
    233233  (macptr-ptr ptr imm1)
    234   (unbox-fixnum imm0 offset)
     234  (unbox-fixnum offset imm0)
    235235  (movq (@ (% imm1) (% imm0)) (% imm0))
    236236  (jmp-subprim .SPmakeu64))
     
    240240  (trap-unless-typecode= ptr x8664::subtag-macptr)
    241241  (macptr-ptr ptr imm1)
    242   (unbox-fixnum imm0 offset)
     242  (unbox-fixnum offset imm0)
    243243  (movq (@ (% imm1) (% imm0)) (% imm0))
    244244  (jmp-subprim .SPmakes64))
Note: See TracChangeset for help on using the changeset viewer.