diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-27 10:55:21 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-27 10:55:21 +0000 |
commit | 8dcc0c79248a413f01f1d669b99d51e2519c5267 (patch) | |
tree | 40054715827a52fd4ddfec1d30ad63dc66091e4a /py/scope.h | |
parent | 945a01c4e37509a2be8d298cbd762e3fe61aca95 (diff) |
py: Calculate maximum exception stack size in compiler.
Diffstat (limited to 'py/scope.h')
-rw-r--r-- | py/scope.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/scope.h b/py/scope.h index 660317f30..7ecd1e19f 100644 --- a/py/scope.h +++ b/py/scope.h @@ -36,7 +36,8 @@ typedef struct _scope_t { int num_dict_params; */ int num_locals; - int stack_size; + int stack_size; // maximum size of the locals stack + int exc_stack_size; // maximum size of the exception stack uint unique_code_id; uint emit_options; } scope_t; |