forked from qt-creator/qt-creator
QmlJS: Remove unused code.
Change-Id: Ic6e7f46a3a7155a1ab41c41e4d9ee9d4832c3717 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
committed by
Leandro Melo
parent
56bf0e3023
commit
d719489009
@@ -44,7 +44,6 @@ Evaluate::Evaluate(const ScopeChain *scopeChain, ReferenceContext *referenceCont
|
||||
_context(scopeChain->context()),
|
||||
_referenceContext(referenceContext),
|
||||
_scopeChain(scopeChain),
|
||||
_scope(_valueOwner->globalObject()),
|
||||
_result(0)
|
||||
{
|
||||
}
|
||||
@@ -95,13 +94,6 @@ const Value *Evaluate::switchResult(const Value *result)
|
||||
return previousResult;
|
||||
}
|
||||
|
||||
const ObjectValue *Evaluate::switchScope(const ObjectValue *scope)
|
||||
{
|
||||
const ObjectValue *previousScope = _scope;
|
||||
_scope = scope;
|
||||
return previousScope;
|
||||
}
|
||||
|
||||
void Evaluate::accept(AST::Node *node)
|
||||
{
|
||||
AST::Node::accept(node, this);
|
||||
|
||||
Reference in New Issue
Block a user