diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-17 13:14:51 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-17 15:24:56 +0200 |
commit | 091f20de8c7fc33ae82b12c1ee5a7835da1daa81 (patch) | |
tree | 4ac72a4c93e55078ef2c92e18c93fc8d70ac9de7 /src/qml/jsruntime/qv4engine.cpp | |
parent | 0c0dbff655ea22a7ed5c51b133e09f97c464006f (diff) |
Remove unused overload of newCallContext()
Change-Id: I9b9de585b18bf87ea256db36b320a7defdcc4ac8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4engine.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp index ddeb20ad7d..45a289f6db 100644 --- a/src/qml/jsruntime/qv4engine.cpp +++ b/src/qml/jsruntime/qv4engine.cpp @@ -327,16 +327,6 @@ CatchContext *ExecutionEngine::newCatchContext(String *exceptionVarName, const V return c; } -CallContext *ExecutionEngine::newCallContext(FunctionObject *f, const Value &thisObject, Value *args, int argc) -{ - CallContext *c = static_cast<CallContext *>(memoryManager->allocContext(requiredMemoryForExecutionContect(f, argc))); - ExecutionContext *p = current; - current = c; - c->initCallContext(p, f, args, argc, thisObject); - - return c; -} - CallContext *ExecutionEngine::newQmlContext(FunctionObject *f, Object *qml) { CallContext *c = static_cast<CallContext *>(memoryManager->allocContext(requiredMemoryForExecutionContect(f, 0))); |