QmlJS: Remove unused function environment from binder.

This used to contain all functions declared in Script blocks. With them
gone, there's no reason to keep it.
This commit is contained in:
Christian Kamm
2010-04-28 09:40:51 +02:00
parent 34d3b5d8ac
commit 9af4f2c64f
5 changed files with 0 additions and 14 deletions

View File

@@ -43,7 +43,6 @@ Bind::Bind(Document *doc)
: _doc(doc),
_currentObjectValue(0),
_idEnvironment(0),
_functionEnvironment(0),
_rootObjectValue(0)
{
if (_doc)
@@ -79,11 +78,6 @@ Interpreter::ObjectValue *Bind::idEnvironment() const
return _idEnvironment;
}
Interpreter::ObjectValue *Bind::functionEnvironment() const
{
return _functionEnvironment;
}
Interpreter::ObjectValue *Bind::rootObjectValue() const
{
return _rootObjectValue;
@@ -175,7 +169,6 @@ void Bind::accept(Node *node)
bool Bind::visit(AST::UiProgram *)
{
_idEnvironment = _engine.newObject(/*prototype =*/ 0);
_functionEnvironment = _engine.newObject(/*prototype =*/ 0);
return true;
}