Go to file
rossberg@chromium.org 98db1a369d Implement proper module linking.
Specifically:

- In parser, check that all exports are defined.
- Move JSModule allocation from parser to scope resolution.
- Move JSModule linking from full codegen to scope resolution.
- Implement module accessors for exported value members.
- Allocate module contexts statically along with JSModules
  (to allow static linking), but chain them when module literal is evaluated.
- Make module contexts' extension slot refer to resp. JSModule
  (makes modules' ScopeInfo accessible from context).
- Some other tweaks to context handling in general.
- Make any code containing module literals (and thus embedding
  static references to JSModules) non-cacheable.

This enables accessing module instance objects as expected.
Import declarations are a separate feature and do not work yet.

R=mstarzinger@chromium.org
BUG=v8:1569
TEST=

Review URL: https://chromiumcodereview.appspot.com/10690043

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-07-09 08:59:03 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Make MACOSX_DEPLOYMENT_TARGET configurable. 2012-07-02 14:58:43 +00:00
include Fix compilation when disabling debugger support. 2012-07-05 16:23:14 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Fix compilation when disabling debugger support. 2012-07-05 16:23:14 +00:00
src Implement proper module linking. 2012-07-09 08:59:03 +00:00
test Implement proper module linking. 2012-07-09 08:59:03 +00:00
tools Separating transitions from descriptors. 2012-07-05 13:54:20 +00:00
.gitignore Fix .gitignore for test data directories. 2012-02-20 13:17:20 +00:00
AUTHORS Add support for Mac OS X 64bit builds with GYP 2012-03-30 15:01:11 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.12.10. 2012-07-06 16:20:57 +00:00
DEPS Prepare for using GYP build on buildbots 2012-05-11 12:18:09 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Add Makefile targets for running tests on Android. 2012-07-03 07:45:58 +00:00
SConstruct Fix shared library build errors. 2012-05-18 11:15:14 +00:00