Update.
This commit is contained in:
+1161
-18
File diff suppressed because it is too large
Load Diff
@@ -88,6 +88,20 @@ typedef struct {
|
||||
|
||||
struct MethodCache_s;
|
||||
|
||||
typedef struct {
|
||||
int catch_label;
|
||||
int finally_label;
|
||||
int end_label;
|
||||
int exception_local;
|
||||
size_t stack_depth;
|
||||
} RavaExceptionHandler_t;
|
||||
|
||||
typedef struct {
|
||||
RavaExceptionHandler_t *handlers;
|
||||
size_t count;
|
||||
size_t capacity;
|
||||
} RavaExceptionStack_t;
|
||||
|
||||
typedef struct {
|
||||
RavaProgram_t *program;
|
||||
RavaCallStack_t *call_stack;
|
||||
@@ -95,6 +109,9 @@ typedef struct {
|
||||
struct MethodCache_s *method_cache;
|
||||
char *error_message;
|
||||
bool had_error;
|
||||
bool has_exception;
|
||||
RavaValue_t exception_value;
|
||||
RavaExceptionStack_t *exception_stack;
|
||||
} RavaVM_t;
|
||||
|
||||
RavaValue_t rava_value_int(int32_t value);
|
||||
|
||||
Reference in New Issue
Block a user