v8/test/mjsunit/wasm
Enrico Bacis 5c47d99e30 [wasm] Add tests for grow_memory in loops
This CL introduces 4 tests that verify that the effects of a grow_memory
instruction executed inside a loop are visible also when the loop is over.

The tests verify the output of the current_memory instruction and the
result of loading a variable stored in the grown memory inside the
loop in the following cases:

 * the memory is grown inside the loop (no memory operation outside);

 * the memory is grown both inside and outside the loop;

R=ahaas@chromium.org,clemensh@chromium.org,gdeepti@chromium.org

Change-Id: I1670aa4d8274f6c54dced98cced7b51534552c36
Reviewed-on: https://chromium-review.googlesource.com/619207
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Enrico Bacis <enricobacis@google.com>
Cr-Commit-Position: refs/heads/master@{#47466}
2017-08-21 09:42:34 +00:00
..
embenchen
adapter-frame.js
add-getters.js
asm-wasm-copy.js
asm-wasm-deopt.js
asm-wasm-exception-in-tonumber.js
asm-wasm-expr.js
asm-wasm-f32.js
asm-wasm-f64.js
asm-wasm-heap.js
asm-wasm-i32.js
asm-wasm-literals.js
asm-wasm-names.js
asm-wasm-stack.js
asm-wasm-stdlib.js
asm-wasm-switch.js
asm-wasm-u32.js
asm-wasm.js [asm.js] Ensure coercion of imports is non-observable. 2017-06-20 13:55:35 +00:00
asm-with-wasm-off.js
async-compile.js Fix common misspellings 2017-08-02 09:35:28 +00:00
atomics.js [wasm] Refactor mjsunit atomics tests into smaller tests 2017-08-14 23:46:10 +00:00
calls.js
compilation-limits-asm.js
compilation-limits.js
compiled-module-management.js Revert "Revert "[wasm] Reference indirect tables as addresses of global handles"" 2017-08-19 16:35:34 +00:00
compiled-module-serialization.js
data-segments.js
divrem-trap.js
ensure-wasm-binaries-up-to-date.js
errors.js [wasm] Test more error messages 2017-07-25 08:29:13 +00:00
exceptions.js Reland "Start migration of try/throw/catch to match proposal." 2017-08-02 22:35:07 +00:00
export-global.js [wasm] Limit output length of user-provided strings 2017-08-04 09:20:34 +00:00
export-table.js [wasm] Fix error output for duplicate exports 2017-07-10 09:53:32 +00:00
ffi-error.js
ffi.js
float-constant-folding.js
function-names.js
function-prototype.js
gc-buffer.js
gc-frame.js
gc-stress.js [wasm] Reduce run-time of GC stress test. 2017-07-14 16:02:42 +00:00
globals.js
graceful_shutdown.js [wasm] Remove the state from tasks of an AsyncCompileJob 2017-06-13 14:26:51 +00:00
grow-memory-in-branch.js [wasm] Add tests for grow_memory in conditional branches 2017-08-19 10:33:11 +00:00
grow-memory-in-call.js [wasm] Add tests for grow_memory inside functions 2017-08-17 12:35:51 +00:00
grow-memory-in-loop.js [wasm] Add tests for grow_memory in loops 2017-08-21 09:42:34 +00:00
grow-memory.js [wasm] Add tests for grow_memory inside functions 2017-08-17 12:35:51 +00:00
huge-memory.js
import-memory.js [wasm] Fix grow-memory on exported memory 2017-08-17 10:01:53 +00:00
import-table.js
incrementer.wasm
indirect-calls.js
indirect-sig-mismatch.js [wasm] More extensive indirect dispatch signature mismatch tests. 2017-07-24 19:21:28 +00:00
indirect-tables.js [wasm] Update signature map on indirect calls 2017-07-14 08:42:40 +00:00
instance-gc.js
instance-memory-gc-stress.js
instantiate-module-basic.js
instantiate-run-basic.js
interpreter-mixed.js [wasm] [debug] Implement calling imported wasm functions 2017-08-07 12:31:18 +00:00
interpreter.js
js-api.js [wasm] Turn instance exports into an accessor 2017-08-03 16:49:21 +00:00
jsapi-harness.js [wasm] Turn instance exports into an accessor 2017-08-03 16:49:21 +00:00
large-offset.js [wasm] Increase WebAssembly.Memory maximum size to 2GB 2017-06-16 03:35:09 +00:00
memory-instance-validation.js [wasm] Use WeakFixedArray for list of instances sharing a WasmMemoryObject. 2017-07-07 13:52:21 +00:00
memory-size.js
memory.js [wasm] Add tests for grow_memory inside functions 2017-08-17 12:35:51 +00:00
module-memory.js
names.js
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
parallel_compilation.js
params.js
receiver.js
shared-memory.js [wasm] WebAssembly.Memory constructor should accept SharedArrayBuffers. 2017-07-10 22:37:48 +00:00
stack.js
stackwalk.js
start-function.js [wasm] Use pending exceptions consistently 2017-06-29 10:23:45 +00:00
table.js [wasm] Allow full u32 range for table maximum in WebAssembly.Table constructor. 2017-07-10 11:18:45 +00:00
test-import-export-wrapper.js
test-wasm-module-builder.js Revert "Revert "[wasm] Move the ModuleEnv to compiler and make it immutable."" 2017-08-19 16:33:17 +00:00
trap-location.js
unicode-validation.js
unicode.js [wasm] Fix unicode names occuring in error messages 2017-06-26 15:36:34 +00:00
unreachable-validation.js
unreachable.js
user-properties.js [wasm] Fix user properties for exported wasm functions and add extensive tests. 2017-07-19 17:06:37 +00:00
verify-module-basic-errors.js
wasm-api-overloading.js
wasm-constants.js [wasm] Fix grow-memory on exported memory 2017-08-17 10:01:53 +00:00
wasm-default.js
wasm-module-builder.js [wasm][test] Avoid stack overflow that can happen with spread call to Array.push. 2017-08-03 12:33:28 +00:00
wasm-object-api.js