Rearrange the code in Scope::ResolveVariable.
I find this clearer and it also enables the DYNAMIC_LOCAL optimization for code executed by eval that itself uses eval: eval("(function() { var x = 2; eval('1'); do stuff with x...; })()") Review URL: http://codereview.chromium.org/24023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment