diff -r 6c1cc50c4808 -r 443d24cfdf2d src/compiler/HIR.cpp --- a/src/compiler/HIR.cpp Sat Nov 17 23:13:39 2012 -0800 +++ b/src/compiler/HIR.cpp Sun Nov 18 14:53:23 2012 -0800 @@ -44,6 +44,7 @@ void visitLocal(HLocal *local); void visitGlobal(HGlobal *global); void visitConvert(HConvert *convert); + void visitIndex(HIndex *index); private: Zone *zone_; @@ -151,6 +152,13 @@ } void +HIRTranslator::visitIndex(HIndex *index) +{ + index->bind(this, emitter_); + index->load(emitter_); +} + +void HIRTranslator::visitGlobal(HGlobal *global) { __ getglobal(global->sym());