I had only a very quick look... (will have a better look next week)

How do you distinguish between the following cases:

function outer() {
  var a; // needs to be context-allocated
  function inner() {
     a = 5; // refers outer
  }
}

and

function outer() {
  var a; // doesn't need to be context allocated
  function inner() {
    var a;
    a = 5;
  }
}

?



https://codereview.chromium.org/641283003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to