Reviewers: William Hesse, fschneider, Erik Corry, Description: Add support for global variable references in toplevel code. We use the normal named load IC mechanism for now. Generated code is similar to the case for global variable assignments.
Please review this at http://codereview.chromium.org/294021 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/fast-codegen-arm.cc M src/compiler.cc M src/ia32/fast-codegen-ia32.cc M src/x64/fast-codegen-x64.cc M test/mjsunit/compiler/globals.js --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
