diff -r 13bd3a8df334 -r 8e22792a3921 jitcraft/NameBinding.cpp --- a/jitcraft/NameBinding.cpp Sat Jul 07 17:11:31 2012 -0700 +++ b/jitcraft/NameBinding.cpp Sat Jul 07 20:28:29 2012 -0700 @@ -16,11 +16,12 @@ * JITCraft. If not, see http://www.gnu.org/licenses/. */ #include "NameBinding.h" +#include "Strings.h" #include "Zone.h" using namespace jc; -BoundName::BoundName(Scope *scope, Name *name, const SourcePosition &pos) +BoundName::BoundName(Scope *scope, Handle name, const SourcePosition &pos) : scope_(scope), name_(name), type_(NULL), @@ -28,12 +29,12 @@ { } -NamedFunction::NamedFunction(Scope *scope, Name *name, const SourcePosition &pos) +NamedFunction::NamedFunction(Scope *scope, Handle name, const SourcePosition &pos) : BoundName(scope, name, pos) { } -Variable::Variable(Scope *scope, Name *name, const SourcePosition &pos) +Variable::Variable(Scope *scope, Handle name, const SourcePosition &pos) : BoundName(scope, name, pos), location_(UNALLOCATED) {