diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-01-16 21:00:50 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-01-24 15:08:19 +0700 |
commit | 43cbd70286a1dfdf79abd1220f4ffa8ed9a05d5b (patch) | |
tree | 8047224155da42ffb068d5ae17c78823c54227f0 /src/library_html5.js | |
parent | 44998c302a9cd458d57802129c0cbc9d61dc10e7 (diff) |
Improve C++ exception handling.
We now allocate extra bytes before the exception data and use that,
rather than globals, to store the exception type and destructor
information. This is step one towards having multiple exceptions
in flight at once.
We also track what exceptions are currently being caught in a stack
maintained in __cxa_begin_catch and __cxa_end_catch. This is used
for ensuring that we handle nested exception catch blocks correctly.
Diffstat (limited to 'src/library_html5.js')
0 files changed, 0 insertions, 0 deletions