src/compiler/CompileContext.cpp
changeset 232 2b8512340180
parent 196 9904633b1dfc
child 237 c77540a61905
     1.1 --- a/src/compiler/CompileContext.cpp	Sat Dec 22 18:25:31 2012 -0800
     1.2 +++ b/src/compiler/CompileContext.cpp	Sat Dec 22 19:48:43 2012 -0800
     1.3 @@ -239,6 +239,9 @@
     1.4          if (!zone_->stack().pushModuleFrame(unit->module_, args))
     1.5              assert(false);
     1.6  
     1.7 +        if (failures_)
     1.8 +            return false;
     1.9 +
    1.10          ke::LocalSlot slot;
    1.11          if (!Interpret(zone_, NULL, &slot))
    1.12              assert(false);