Ignore:
Timestamp:
Aug 12, 2020, 4:20:03 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0240cd69
Parents:
980fb4e
Message:

The exception context is now stored on the stack. It is not used just yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/exception.c

    r980fb4e r80ec409  
    2828#include <unwind.h>
    2929#include <bits/debug.hfa>
     30#include "concurrency/invoke.h"
    3031#include "stdhdr/assert.h"
    3132
     
    5960
    6061// Temperary global exception context. Does not work with concurency.
    61 struct exception_context_t {
    62         struct __cfaehm_try_resume_node * top_resume;
    63 
    64         exception_t * current_exception;
    65 } static shared_stack = {NULL, NULL};
     62static struct exception_context_t shared_stack = {NULL, NULL};
    6663
    6764// Get the current exception context.
Note: See TracChangeset for help on using the changeset viewer.