aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-11-27 15:45:02 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-03 08:28:18 +0100
commitb970c579163c317e1d5aa881507c029a15800746 (patch)
treef2d8da1594b9ab5812102d719b5f752a1495c180 /src/qml/jsruntime/qv4context_p.h
parentb34e6717fa8b9e84390eeff4e853a18ce142434e (diff)
Remove dead code
The eval code tracking was used last time for the old exception handling, but that's long gone :) Change-Id: I6fa80a5197745fde461e4da66cd65a50149c6048 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 74530e7ae9..6d95f039c5 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -73,11 +73,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed
Type_CallContext = 0x5,
Type_QmlContext = 0x6
};
- struct EvalCode
- {
- Function *function;
- EvalCode *next;
- };
struct Data : Managed::Data {
Data(ExecutionEngine *engine, ContextType t)
@@ -89,7 +84,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed
, outer(0)
, lookups(0)
, compilationUnit(0)
- , currentEvalCode(0)
, lineNumber(-1)
{
engine->current = reinterpret_cast<ExecutionContext *>(this);
@@ -104,7 +98,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed
ExecutionContext *outer;
Lookup *lookups;
CompiledData::CompilationUnit *compilationUnit;
- EvalCode *currentEvalCode;
int lineNumber;
@@ -122,7 +115,6 @@ struct Q_QML_EXPORT ExecutionContext : public Managed
d()->outer = 0;
d()->lookups = 0;
d()->compilationUnit = 0;
- d()->currentEvalCode = 0;
d()->lineNumber = -1;
engine->current = this;
}
@@ -238,7 +230,6 @@ inline void ExecutionEngine::pushContext(CallContext *context)
{
context->d()->parent = current;
current = context;
- current->d()->currentEvalCode = 0;
}
inline ExecutionContext *ExecutionEngine::popContext()