Reviewers: Erik Corry,

Description:
Optimize calls to evals. Most of the time there is no reason to
perform a context lookup in the runtime system for the 'eval'
function. Instead load the 'eval' function from the global context in
generated code if it is not shadowed.

Will port to other platforms as a separate change.


Please review this at http://codereview.chromium.org/2666001/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ia32/codegen-ia32.cc
  M     src/runtime.h
  M     src/runtime.cc
  M     test/mjsunit/eval.js


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

Reply via email to