src/Stack.cpp
changeset 232 2b8512340180
parent 230 fb3cd08bc7fb
child 251 ca99a81745fe
     1.1 --- a/src/Stack.cpp	Sat Dec 22 18:25:31 2012 -0800
     1.2 +++ b/src/Stack.cpp	Sat Dec 22 19:48:43 2012 -0800
     1.3 @@ -201,15 +201,15 @@
     1.4      top_.fp = top_.fp->prev();
     1.5  }
     1.6  
     1.7 -void
     1.8 -Frame::enterLoop(Zone *zone)
     1.9 -{
    1.10 -    assert(loopDepth_ < code_->maxLoopDepth());
    1.11 -    loopStack()[loopDepth_] = zone->heap().lifoPosition();
    1.12 -    loopDepth_++;
    1.13 -}
    1.14 -
    1.15 -void
    1.16 +void
    1.17 +Frame::enterLoop(Zone *zone)
    1.18 +{
    1.19 +    assert(loopDepth_ < code_->maxLoopDepth());
    1.20 +    loopStack()[loopDepth_] = zone->heap().lifoPosition();
    1.21 +    loopDepth_++;
    1.22 +}
    1.23 +
    1.24 +void
    1.25  Frame::leaveLoop(Zone *zone)
    1.26  {
    1.27      assert(loopDepth_ > 0);