v8/test/mjsunit/asm
bradnelson e5f5ac7d2b [wasm] asm.js - Remove Wasm.instantiateModuleFromAsm, use asm.js directly.
Make use of %IsAsmWasmCode in place of Wasm.instantiateModuleFromAsm,
in order to reduce the surface area of the Wasm object,
and to focus on testing asm.js coming in via the parser.

Ignore extra CONST_LEGACY assignment introduced by the parser
when modules have the form:
(function Foo(a, b, c) {..});
This requires both a validator and AsmWasmBuilder change.

Move stdlib use collection to import time,
to reject modules that import a function, even if not used.

BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
LOG=N
R=jpp@chromium.org,titzer@chromium.org

Review-Url: https://codereview.chromium.org/2264913002
Cr-Commit-Position: refs/heads/master@{#38806}
2016-08-23 04:07:23 +00:00
..
embenchen Fix copyright headers. 2014-11-12 13:29:57 +00:00
poppler [mjsunit] Import asm.js test case for poppler. 2015-04-22 09:33:43 +00:00
sqlite3 [mjsunit] Add custom tests based on SQLite 3.8.9. 2015-04-22 07:44:50 +00:00
asm-validation.js [wasm] asm.js - Remove Wasm.instantiateModuleFromAsm, use asm.js directly. 2016-08-23 04:07:23 +00:00
atomics-add.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-and.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-compareexchange.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-exchange.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-load.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-or.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-store.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-sub.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
atomics-xor.js [Atomics] Fix atomic access index validation 2016-03-25 21:52:52 +00:00
do-while-false.js Implement graph trimming in ControlReducer. 2014-10-17 11:51:57 +00:00
do-while.js [turbofan] Improve typed lowering for JSToBoolean. 2014-10-28 08:34:15 +00:00
float32array-negative-offset.js [x64] Fix optimization for certain checked load/stores. 2014-12-10 07:49:12 +00:00
float32array-outofbounds.js [turbofan] Properly emit bounds checks for typed array element loads. 2014-10-08 11:16:45 +00:00
float32array-store-div.js [turbofan] Fix missing machine type for float32/float64 array accesses. 2014-11-05 08:15:47 +00:00
float64array-negative-offset.js [x64] Fix optimization for certain checked load/stores. 2014-12-10 07:49:12 +00:00
float64array-outofbounds.js [turbofan] Properly emit bounds checks for typed array element loads. 2014-10-08 11:16:45 +00:00
float64array-store-div.js [turbofan] Fix missing machine type for float32/float64 array accesses. 2014-11-05 08:15:47 +00:00
float64mul.js [arm] Fix recognition of VNEG. 2014-11-26 11:18:58 +00:00
if-cloning.js [turbofan] Initial version of branch cloning. 2015-02-24 07:41:36 +00:00
if-folding.js Implement graph trimming in ControlReducer. 2014-10-17 11:51:57 +00:00
if-reduction.js Implement graph trimming in ControlReducer. 2014-10-17 11:51:57 +00:00
if-tonumber.js [turbofan] Push JSToNumber conversions into Phis. 2014-11-18 11:34:21 +00:00
infinite-loops-taken.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
infinite-loops.js Implement graph trimming in ControlReducer. 2014-10-17 11:51:57 +00:00
int8array-negative-offset.js [x64] Fix optimization for certain checked load/stores. 2014-12-10 07:49:12 +00:00
int16array-negative-offset.js [x64] Fix optimization for certain checked load/stores. 2014-12-10 07:49:12 +00:00
int16array-outofbounds.js [turbofan] Introduce new Select operator to improve bounds checking. 2014-10-29 14:17:14 +00:00
int32-div.js Lower NumberMultiply, NumberDivide, and NumberModulus to Int32Mul, Int32[U]Div, and Int32[U]Mod when possible in simplified-lowering. 2014-10-08 10:53:46 +00:00
int32-mod.js Lower NumberMultiply, NumberDivide, and NumberModulus to Int32Mul, Int32[U]Div, and Int32[U]Mod when possible in simplified-lowering. 2014-10-08 10:53:46 +00:00
int32-mul.js Lower NumberMultiply, NumberDivide, and NumberModulus to Int32Mul, Int32[U]Div, and Int32[U]Mod when possible in simplified-lowering. 2014-10-08 10:53:46 +00:00
int32-tmod.js [turbofan] Optimize Int32Mod by power-of-two. 2014-10-13 11:09:32 +00:00
int32-udiv.js Lower NumberMultiply, NumberDivide, and NumberModulus to Int32Mul, Int32[U]Div, and Int32[U]Mod when possible in simplified-lowering. 2014-10-08 10:53:46 +00:00
int32-umod.js Lower NumberMultiply, NumberDivide, and NumberModulus to Int32Mul, Int32[U]Div, and Int32[U]Mod when possible in simplified-lowering. 2014-10-08 10:53:46 +00:00
int32array-constant-key.js [turbofan] Skip bounds checks for positive indices only. 2014-10-20 06:25:41 +00:00
int32array-negative-offset.js [x64] Fix optimization for certain checked load/stores. 2014-12-10 07:49:12 +00:00
int32array-outofbounds.js [turbofan] Properly emit bounds checks for typed array element loads. 2014-10-08 11:16:45 +00:00
int32array-unaligned.js [turbofan] Reduce shl with sar/shr and same shift amount to bit-and. 2014-09-26 07:35:59 +00:00
int32div.js [turbofan] Optimize division/modulus by constant. 2014-10-14 11:57:06 +00:00
int32mod-constant.js [turbofan] Optimize remainder of integer division by unknown power of two. 2014-11-14 08:21:18 +00:00
int32mod.js [turbofan] Optimize remainder of integer division by unknown power of two. 2014-11-14 08:21:18 +00:00
int32modb.js [turbofan] Fix OSR compilations of for-in. 2015-01-29 17:40:23 +00:00
math-abs.js Extend JSBuiltinReducer to cover Math.abs as well. 2014-09-26 14:06:56 +00:00
math-ceil.js Add floor, ceil, round (truncate) instructions for ia32, x64 (if SSE4.1) and 2014-10-30 14:16:15 +00:00
math-clz32.js [builtins] Migrate Math.clz32 to a TurboFan builtin. 2016-04-01 14:36:32 +00:00
math-floor.js Add floor, ceil, round (truncate) instructions for ia32, x64 (if SSE4.1) and 2014-10-30 14:16:15 +00:00
math-fround.js
pointer-masking.js [turbofan] Optimize silent hole checks on legacy const context slots. 2015-04-10 10:28:12 +00:00
redundancy1.js [turbofan] Split pure nodes in the scheduler if beneficial. 2015-02-03 14:51:08 +00:00
redundancy2.js [turbofan] Split pure nodes in the scheduler if beneficial. 2015-02-03 14:51:08 +00:00
sign-extend.js [arm] Recognize SXTB, SXTH, UXTB and UXTH. 2014-11-10 05:49:17 +00:00
switch.js [turbofan] Optimize certain chains of Branch into a Switch. 2015-02-17 13:29:46 +00:00
uint8array-outofbounds.js [turbofan] Properly emit bounds checks for typed array element loads. 2014-10-08 11:16:45 +00:00
uint32-less-than-shift.js Fix bug in optimization of Uint32LessThan. 2014-10-30 15:52:47 +00:00
uint32div.js [turbofan] Fix recognition of Uint32Div in simplified lowering. 2014-11-04 11:37:47 +00:00
uint32mod-constant.js [turbofan] Optimize remainder of integer division by unknown power of two. 2014-11-14 08:21:18 +00:00
uint32mod.js [turbofan] Optimize remainder of integer division by unknown power of two. 2014-11-14 08:21:18 +00:00
word32and.js [arm] Prefer BIC over BFC. 2014-10-17 07:07:54 +00:00
word32ror.js [turbofan] Recognize rotate right. 2014-11-26 11:49:43 +00:00
zero-extend.js [arm] Recognize SXTB, SXTH, UXTB and UXTH. 2014-11-10 05:49:17 +00:00