diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-10-22 00:18:31 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2012-10-24 08:46:49 +0200 |
commit | 5f06c71bc1bf146977b6a189491f73ddf8792777 (patch) | |
tree | b4d83b72d235d0adb03db75bce910d2d1278c502 /llvm_runtime.cpp | |
parent | 2c62e69b8d1b49dd440f17c7de2f93be970699cb (diff) |
Proper exception handling
Implement exceptions using setjmp/longjmp. The
advantage is that this removes all exception
handling overhead from regular code, the only
code that still has a (very small) overhead
is the try{} catch() {} statement.
Change-Id: I43d6a60dfc9dfd4b7a20d2e99ab0a9315b4d8a2f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'llvm_runtime.cpp')
-rw-r--r-- | llvm_runtime.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm_runtime.cpp b/llvm_runtime.cpp index fbc534f1ed..158cb66b20 100644 --- a/llvm_runtime.cpp +++ b/llvm_runtime.cpp @@ -457,11 +457,6 @@ void __qmljs_llvm_throw(Context *context, Value *value) __qmljs_throw(*value, context); } -void __qmljs_llvm_rethrow(Context *context, Value *result) -{ - *result = __qmljs_rethrow(context); -} - void __qmljs_llvm_get_this_object(Context *ctx, Value *result) { *result = __qmljs_get_thisObject(ctx); |