Reviewers: Kasper Lund, Description: Optimize loads from variables that might be shadowed by variables introduced by eval.
In the cases where calls to eval have not introduced any variables, we do not need to perform a runtime call. Instead, we verify that the context extension objects have not been created and perform a direct load. Not implemented for ARM yet and the scope resolution code could use some better abstractions. I'd like to do that in a separate changelist. Please review this at http://codereview.chromium.org/20419 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/codegen-arm.cc M src/codegen-ia32.h M src/codegen-ia32.cc M src/contexts.cc M src/scopes.h M src/scopes.cc M src/variables.h M src/variables.cc --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
