v8/test/cctest/compiler
Ben L. Titzer c02f5e3ab3 [wasm] Store the globals_start in WasmContext.
This CL removes the code specialization for WASM functions that access
globals. Previously, we were embedding the start address of the globals
memory (globals_start) as a constant in the code, which required
patching for every instance. We now put this base in to the WasmContext,
which is available as a parameter to every WasmFunction.

R=ahaas@chromium.org,
CC=mtrofin@chromium.org

Bug: 
Change-Id: I04bb739e898cc5a3b7dd081cc166483022d113fd
Reviewed-on: https://chromium-review.googlesource.com/712595
Commit-Queue: Ben Titzer <titzer@chromium.org>
Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48581}
2017-10-16 09:35:47 +00:00
..
c-signature.h [wasm] Replace the BufferedRawMachineAssemblerTester in the WasmRunner. 2016-02-18 09:55:49 +00:00
call-tester.h [cleanup] Remove return after UNREACHABLE 2017-05-22 13:10:01 +00:00
code-assembler-tester.h [cctest] Record execution of parallel moves. 2017-10-11 14:18:49 +00:00
codegen-tester.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
codegen-tester.h Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
function-tester.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
function-tester.h [cleanup] Add templatized FunctionTester::CallChecked(...) helpers 2017-07-18 14:25:21 +00:00
graph-builder-tester.h Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-basic-block-profiler.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-branch-combine.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-code-assembler.cc [csa] fix variable merge for switch default label 2017-09-26 12:31:29 +00:00
test-code-generator.cc [cctest] Record execution of parallel moves. 2017-10-11 14:18:49 +00:00
test-gap-resolver.cc Add bound checking to RegisterConfiguration accessors function. 2017-08-18 09:24:31 +00:00
test-graph-visualizer.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-instruction.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-js-constant-cache.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
test-js-context-specialization.cc [compiler][modules] Constant-fold loads of module cells. 2017-05-04 11:09:19 +00:00
test-js-typed-lowering.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-jump-threading.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-linkage.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-loop-analysis.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-machine-operator-reducer.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-multiple-return.cc Remove ComputeFlags, simply pass in Code::Kind instead of Code::Flags 2017-09-29 15:37:27 +00:00
test-node.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-operator.cc Start preparing test/cctest for jumbo compilation 2017-08-14 20:58:10 +00:00
test-representation-change.cc [turbofan] Propagate minus-zero truncation in representation inference. 2017-03-08 06:11:37 +00:00
test-run-bytecode-graph-builder.cc [compiler] Remove script() from CompilationInfo 2017-09-29 09:33:59 +00:00
test-run-calls-to-external-references.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-run-deopt.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-intrinsics.cc [cleanup] Drop obsolete %StringCharCodeAt intrinsic. 2017-09-08 15:45:44 +00:00
test-run-jsbranches.cc [turbofan] Remove for-in support from the AstGraphBuilder. 2017-02-08 06:41:42 +00:00
test-run-jscalls.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
test-run-jsexceptions.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-jsobjects.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
test-run-jsops.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-load-store.cc Start preparing test/cctest for jumbo compilation 2017-08-14 20:58:10 +00:00
test-run-machops.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-run-native-calls.cc Remove ComputeFlags, simply pass in Code::Kind instead of Code::Flags 2017-09-29 15:37:27 +00:00
test-run-stackcheck.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-stubs.cc Remove ComputeFlags, simply pass in Code::Kind instead of Code::Flags 2017-09-29 15:37:27 +00:00
test-run-unwinding-info.cc [turbofan] Replace uninitialized JSCall nodes with SOFT deopt. 2017-06-27 03:57:13 +00:00
test-run-variables.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-run-wasm-machops.cc [wasm] Store the globals_start in WasmContext. 2017-10-16 09:35:47 +00:00
value-helper.h [wasm] Remove 'using namespace' from cctest/wasm 2017-09-01 13:49:24 +00:00