diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-28 12:37:33 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-08-28 13:20:34 +0000 |
commit | 1750cdfeecb50963dc3cb505cbe5abd2eecc0e55 (patch) | |
tree | f08c0e5dc1bcf0978576fa1bb034f8ef82da4bb1 /src/qml/jsruntime/qv4runtime.cpp | |
parent | 1e6b41cc180b99dfdbc58d61258871677a643ca6 (diff) |
Remove unused UnwindException instruction
Change-Id: I8b93270b5aebd39df8f88166e183814f6391c0f5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index 115129672d..6f82e0b98a 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1177,13 +1177,6 @@ QV4::ReturnedValue Runtime::method_typeofName(ExecutionEngine *engine, int nameI return method_typeofValue(engine, prop); } -ReturnedValue Runtime::method_unwindException(ExecutionEngine *engine) -{ - if (!engine->hasException) - return Primitive::emptyValue().asReturnedValue(); - return engine->catchException(0); -} - /* The next three methods are a bit tricky. They can't open up a Scope, as that * would mess up the pushing of the context. * |