Reviewers: Rico, Description: Make eval consider anything on the form eval(args...) a potential direct cal
Previously we omitted all cases where the global eval property was shadowed, even if by a variable holding the same value. ES5 requires us to treat these as direct calls. We still throw if calling indirect eval with a detached global object. BUG=v8:994 TEST=mjsunit/eval.js Please review this at http://codereview.chromium.org/8343054/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/arm/full-codegen-arm.cc M src/full-codegen.h M src/ia32/full-codegen-ia32.cc M src/mips/full-codegen-mips.cc M src/parser.cc M src/runtime.h M src/runtime.cc M src/v8natives.js M src/variables.h M src/x64/full-codegen-x64.cc M test/cctest/test-api.cc M test/mjsunit/eval.js M test/mjsunit/regress/regress-221.js M test/mjsunit/strict-mode-implicit-receiver.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
