src/compiler/BytecodeEmitter.cpp
changeset 230 fb3cd08bc7fb
parent 222 0cde1379b29f
child 262 c4b1341297e5
     1.1 --- a/src/compiler/BytecodeEmitter.cpp	Sat Dec 22 16:42:20 2012 -0800
     1.2 +++ b/src/compiler/BytecodeEmitter.cpp	Sat Dec 22 18:22:14 2012 -0800
     1.3 @@ -90,7 +90,9 @@
     1.4      buffer_pos_(buffer_),
     1.5      buffer_end_(buffer_pos_ + ARRAY_LENGTH(inline_buffer_)),
     1.6      oom_(false),
     1.7 -    maxStackDepth_(0)
     1.8 +    maxStackDepth_(0),
     1.9 +    loopDepth_(0),
    1.10 +    maxLoopDepth_(0)
    1.11  {
    1.12      lastCodePosition_ = 0;
    1.13      firstLine_ = 1;
    1.14 @@ -377,6 +379,7 @@
    1.15                       objects,
    1.16                       strings,
    1.17                       maxStackDepth(),
    1.18 +                     maxLoopDepth_,
    1.19                       safepoints,
    1.20                       sourcemap);
    1.21