Changeset b78129a


Ignore:
Timestamp:
May 13, 2019, 2:01:15 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
768b3b4f
Parents:
1531ef5
Message:

Fixed x86 build and some whitespace changes

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/CtxSwitch-i386.S

    r1531ef5 rb78129a  
    6767        // argument is now at 8 + 12 = 20(%esp)
    6868
    69         movl 28(%esp),%eax
     69        movl 20(%esp),%eax
    7070
    7171        // Load new context from the "to" area.
  • libcfa/src/concurrency/invoke.c

    r1531ef5 rb78129a  
    123123
    124124        struct FakeStack {
    125             void *fixedRegisters[3];                    // fixed registers ebx, edi, esi (popped on 1st uSwitch, values unimportant)
     125            void *fixedRegisters[3];              // fixed registers ebx, edi, esi (popped on 1st uSwitch, values unimportant)
    126126            void *rturn;                          // where to go on return from uSwitch
    127             void *dummyReturn;                          // fake return compiler would have pushed on call to uInvoke
    128             void *argument[3];                          // for 16-byte ABI, 16-byte alignment starts here
    129             void *padding;                              // padding to force 16-byte alignment, as "base" is 16-byte aligned
     127            void *dummyReturn;                    // fake return compiler would have pushed on call to uInvoke
     128            void *argument[3];                    // for 16-byte ABI, 16-byte alignment starts here
     129            void *padding;                        // padding to force 16-byte alignment, as "base" is 16-byte aligned
    130130        };
    131131
Note: See TracChangeset for help on using the changeset viewer.