http://codereview.chromium.org/466033/diff/7001/7006
File src/fast-codegen.cc (right):

http://codereview.chromium.org/466033/diff/7001/7006#newcode357
src/fast-codegen.cc:357: increment_loop_depth();
Another comment: it seems nicer to properly nest the increment/decrement
of loop depth with the nesting stack, eg:

Iteration loop_statement(this, stmt);
increment_loop_depth();
/* ... */
decrement_loop_depth();

Or else:

increment_loop_depth();
{
   Iteration loop_statement(this, stmt);
   /* ... */
}
decrement_loop-depth();

http://codereview.chromium.org/466033

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to