v8/src/mips
rossberg@chromium.org 977b602727 MIPS: Implement rudimentary module linking.
Port r11336 (6dd4e844)

Original commit message:

Implement rudimentary module linking.

Constructs the (generally cyclic) graph of module instance objects
and populates their exports. Any exports other than nested modules
are currently set to 'undefined' (but already present as properties).

Details:
- Added new type JSModule for instance objects: a JSObject carrying a context.
- Statically allocate instance objects for all module literals (in parser 8-}).
- Extend interfaces to record and unify concrete instance objects,
and to support iteration over members.
- Introduce new runtime function for pushing module contexts.
- Generate code for allocating, initializing, and setting module contexts,
and for populating instance objects from module literals.
Currently, all non-module exports are still initialized with 'undefined'.
- Module aliases are resolved statically, so no special code is required.
- Make sure that code containing module constructs is never optimized
(macrofy AST node construction flag setting while we're at it).
- Add test case checking linkage.

BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-04-18 15:48:01 +00:00
..
assembler-mips-inl.h Enable snapshots on MIPS. This is based on 2012-03-21 14:29:14 +00:00
assembler-mips.cc MIPS: NaNs in the snapshot should be quiet according 2012-04-12 09:23:26 +00:00
assembler-mips.h MIPS: NaNs in the snapshot should be quiet according 2012-04-12 09:23:26 +00:00
builtins-mips.cc Enable snapshots on MIPS. This is based on 2012-03-21 14:29:14 +00:00
code-stubs-mips.cc MIPS: Make SubStringStub more robust with unsafe arguments. 2012-04-18 11:17:04 +00:00
code-stubs-mips.h MIPS: Add a level of indirection to exception handler addresses. 2011-11-21 14:05:18 +00:00
codegen-mips.cc Ensure consistency of Math.sqrt on Intel platforms. 2012-03-12 14:56:04 +00:00
codegen-mips.h MIPS: Porting r10023 and r10054 to arm (pointer cache for external strings). 2011-12-01 08:31:09 +00:00
constants-mips.cc More spelling changes. 2012-01-16 12:38:59 +00:00
constants-mips.h MIPS: fix-up after r11344 2012-04-18 10:39:30 +00:00
cpu-mips.cc MIPS: Added Android-specific version of cacheflush call. 2012-01-26 16:54:44 +00:00
debug-mips.cc MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
deoptimizer-mips.cc MIPS: Port count-based profiler 2012-03-26 11:29:44 +00:00
disasm-mips.cc MIPS: Added support for Loongson architectures. 2012-03-13 16:18:30 +00:00
frames-mips.cc Submit code-stubs-mips.cc. 2011-05-16 08:38:19 +00:00
frames-mips.h MIPS: Support inlining at call-sites with mismatched number of arguments. 2012-01-26 11:26:45 +00:00
full-codegen-mips.cc MIPS: Implement rudimentary module linking. 2012-04-18 15:48:01 +00:00
ic-mips.cc Enable snapshots on MIPS. This is based on 2012-03-21 14:29:14 +00:00
lithium-codegen-mips.cc MIPS: Skip canonicalization check in LStoreKeyedFastDoubleElement when it is not needed 2012-04-18 10:42:30 +00:00
lithium-codegen-mips.h Simplify invocation sequence at monomorphic function invocation sites. 2012-04-18 09:38:45 +00:00
lithium-gap-resolver-mips.cc MIPS: Remove static initializers in v8. 2012-04-05 15:18:22 +00:00
lithium-gap-resolver-mips.h Fix presubmit error. 2011-10-28 08:51:08 +00:00
lithium-mips.cc Reland arguments access support for inlined functions (r11109,r11118). 2012-04-11 13:40:55 +00:00
lithium-mips.h MIPS: Skip canonicalization check in LStoreKeyedFastDoubleElement when it is not needed 2012-04-18 10:42:30 +00:00
macro-assembler-mips.cc Enable snapshots on MIPS. This is based on 2012-03-21 14:29:14 +00:00
macro-assembler-mips.h Enable snapshots on MIPS. This is based on 2012-03-21 14:29:14 +00:00
regexp-macro-assembler-mips.cc MIPS: Implement CheckNotCharacterAfterMinusAnd. This is a commit of http://codereview.chromium.org/9721011/ for Daniel Kalmar 2012-04-13 11:47:31 +00:00
regexp-macro-assembler-mips.h RegExp: Add support for table-based character class 2012-03-30 07:43:48 +00:00
simulator-mips.cc Increase ARM/MIPS simulators stack safety margin to 1024 bytes 2012-02-16 14:16:12 +00:00
simulator-mips.h MIPS: Branch delay slot and other optimizations. 2012-03-21 08:41:16 +00:00
stub-cache-mips.cc MIPS: Add isolate accessor to AccessorInfo and Arguments. 2012-04-13 13:43:19 +00:00