aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-07 06:00:07 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-12 12:13:08 +0100
commit0e0ebef62bce9e5c5bc6d22c22a59d9a83380617 (patch)
tree2891eea171555f8e36b4a97a1eb058e6df34ce2d /src/qml/jsruntime/qv4context_p.h
parent19ae8cdffeaeb3fc6716b6f0a7ee8756ec9700c7 (diff)
Remove unused method
Change-Id: I3ec2f9b70d5285ff088f4fc498ccb14de7f8838c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 5b1abb5686..a883e1c6b6 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -130,21 +130,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed
V4_MANAGED(ExecutionContext, Managed)
Q_MANAGED_TYPE(ExecutionContext)
- ExecutionContext(ExecutionEngine *engine, Heap::ExecutionContext::ContextType t)
- : Managed(engine->executionContextClass)
- {
- d()->type = t;
- d()->strictMode = false;
- d()->engine = engine;
- d()->parent = engine->currentContext()->d();
- d()->outer = 0;
- d()->lookups = 0;
- d()->compilationUnit = 0;
- d()->currentEvalCode = 0;
- d()->lineNumber = -1;
- engine->current = this;
- }
-
Returned<CallContext> *newCallContext(FunctionObject *f, CallData *callData);
Returned<WithContext> *newWithContext(Object *with);
Returned<CatchContext> *newCatchContext(String *exceptionVarName, const ValueRef exceptionValue);