v8/src/ia32
mtrofin c1d01aea11 [wasm] Separate compilation from instantiation
Compilation of wasm functions happens before instantiation. Imports are linked afterwards, at instantiation time. Globals and memory are also
allocated and then tied in via relocation at instantiation time.

This paves the way for implementing Wasm.compile, a prerequisite to
offering the compiled code serialization feature.

Currently, the WasmModule::Compile method just returns a fixed array
containing the code objects. More appropriate modeling of the compiled module to come.

Opportunistically centralized the logic on how to update memory
references, size, and globals, since that logic is the exact same on each
architecture, except for the actual storing of values back in the
instruction stream.

BUG=v8:5072

Review-Url: https://codereview.chromium.org/2056633002
Cr-Commit-Position: refs/heads/master@{#37086}
2016-06-20 05:23:37 +00:00
..
assembler-ia32-inl.h Add new relocation type WASM_MEMORY_SIZE_REFERENCE, use relocatable pointers to update wasm memory size references in generated code. 2016-05-04 20:20:50 +00:00
assembler-ia32.cc [wasm] Separate compilation from instantiation 2016-06-20 05:23:37 +00:00
assembler-ia32.h Revert of Adding ia32 simd assembler changes. (patchset #2 id:20001 of https://codereview.chromium.org/1991713002/ ) 2016-05-19 08:58:18 +00:00
builtins-ia32.cc [builtins] Always pass target and new target to C++ builtins 2016-06-17 10:19:53 +00:00
code-stubs-ia32.cc [ic] LoadICState cleanup. 2016-06-16 11:22:10 +00:00
code-stubs-ia32.h Write barrier for storing a code entry, and usage in CompileLazy builtin. 2016-02-04 08:16:11 +00:00
codegen-ia32.cc [builtins] Introduce proper Float64Exp operator. 2016-06-17 05:20:59 +00:00
codegen-ia32.h [builtins] Introduce proper Float64Exp operator. 2016-06-17 05:20:59 +00:00
cpu-ia32.cc Remove grab-bag includes of v8.h from architecture ports. 2015-08-17 09:42:37 +00:00
deoptimizer-ia32.cc [turbofan] [deoptimizer] Support inlining of ES6 tail calls. 2016-03-09 11:35:37 +00:00
disasm-ia32.cc [build] Fix a clang warning 2016-05-24 10:47:24 +00:00
frames-ia32.cc [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
frames-ia32.h [runtime] Unify and simplify how frames are marked 2016-03-08 08:36:36 +00:00
interface-descriptors-ia32.cc [ic] LoadGlobalIC is now able to cache PropertyCells in the feedback vector. 2016-06-15 12:39:12 +00:00
macro-assembler-ia32.cc [wasm] Support for memory size relocation for asm-wasm. 2016-06-15 16:43:34 +00:00
macro-assembler-ia32.h [crankshaft] Fragmentation-free allocation folding. 2016-05-10 11:29:08 +00:00
simulator-ia32.cc [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
simulator-ia32.h Remove a bunch of Isolate::Current() callsites from simulators 2015-11-23 08:10:06 +00:00