1.1 --- a/jitcraft/NameBinding.cpp Sat Jul 07 17:11:31 2012 -0700
1.2 +++ b/jitcraft/NameBinding.cpp Sat Jul 07 20:28:29 2012 -0700
1.3 @@ -16,11 +16,12 @@
1.4 * JITCraft. If not, see http://www.gnu.org/licenses/.
1.5 */
1.6 #include "NameBinding.h"
1.7 +#include "Strings.h"
1.8 #include "Zone.h"
1.9
1.10 using namespace jc;
1.11
1.12 -BoundName::BoundName(Scope *scope, Name *name, const SourcePosition &pos)
1.13 +BoundName::BoundName(Scope *scope, Handle<String> name, const SourcePosition &pos)
1.14 : scope_(scope),
1.15 name_(name),
1.16 type_(NULL),
1.17 @@ -28,12 +29,12 @@
1.18 {
1.19 }
1.20
1.21 -NamedFunction::NamedFunction(Scope *scope, Name *name, const SourcePosition &pos)
1.22 +NamedFunction::NamedFunction(Scope *scope, Handle<String> name, const SourcePosition &pos)
1.23 : BoundName(scope, name, pos)
1.24 {
1.25 }
1.26
1.27 -Variable::Variable(Scope *scope, Name *name, const SourcePosition &pos)
1.28 +Variable::Variable(Scope *scope, Handle<String> name, const SourcePosition &pos)
1.29 : BoundName(scope, name, pos),
1.30 location_(UNALLOCATED)
1.31 {