v8/test/mjsunit/asm
clemensh be1a5f7551 [asm] Fix lots of invalid asm.js tests
I identified lots of asm.js tests that are actually not valid according
to the spec, hence they execute in default-javascript-mode.
This CL fixes most of them by adding additional type annotations.

The atomic tests are totally non-spec-compliant by expecting a fourth
argument, and infinite-loops-taken expects a function-type parameter,
so I did not fix those.
I also did not fix the regression tests.

R=titzer@chromium.org, bradnelson@chromium.org
BUG=v8:4203

Review-Url: https://codereview.chromium.org/2663243002
Cr-Commit-Position: refs/heads/master@{#43179}
2017-02-14 09:26:52 +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] Make asm.js->wasm return a regular object. 2017-01-28 23:15:58 +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
b5528-comma.js [V8][asm.js] Fixes a bug in comma-expression validation. 2016-10-18 19:05:42 +00:00
do-while-false.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
do-while.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float32array-negative-offset.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float32array-outofbounds.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float32array-store-div.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float64array-negative-offset.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float64array-outofbounds.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float64array-store-div.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
float64mul.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
if-cloning.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
if-folding.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
if-reduction.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
if-tonumber.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
infinite-loops-taken.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
infinite-loops.js Implement graph trimming in ControlReducer. 2014-10-17 11:51:57 +00:00
int8array-negative-offset.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int16array-negative-offset.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int16array-outofbounds.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-div.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-mod.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-mul.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-tmod.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-udiv.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32-umod.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32array-constant-key.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32array-negative-offset.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32array-outofbounds.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32array-unaligned.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32div.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32mod-constant.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32mod.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
int32modb.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
load-elimination.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
math-abs.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
math-ceil.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
math-clz32.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
math-floor.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
math-fround.js Slightly adapt Math.fround test. 2014-09-25 08:44:15 +00:00
pointer-masking.js [turbofan] Optimize silent hole checks on legacy const context slots. 2015-04-10 10:28:12 +00:00
redundancy1.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
redundancy2.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
regress-641885.js [wasm][asm.js] Exclude zero left hand side in arm64 isel. 2017-01-10 17:46:11 +00:00
regress-660813.js [wasm] [asm.js] Don't allow bad return types from a global constant 2016-11-08 23:32:04 +00:00
regress-669899.js [wasm] [asm.js] Ignore unused function tables in AsmWasmBuilder. 2016-12-01 02:27:30 +00:00
regress-672045.js [wasm] Remove obsolete %IsNotAsmWasmCode predicate. 2016-12-09 11:56:05 +00:00
regress-674089.js [parser] Turn off FLAG_lazy_inner_functions. 2017-02-08 10:39:31 +00:00
regress-676573.js [wasm][asm.js] Ensure final validation phase runs. 2017-01-10 17:47:21 +00:00
regress-681707.js [wasm][asm.js] Check if a property key is a PropertyName before assumming it. 2017-01-18 06:49:21 +00:00
sign-extend.js [arm] Recognize SXTB, SXTH, UXTB and UXTH. 2014-11-10 05:49:17 +00:00
switch.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
uint8array-outofbounds.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
uint32-less-than-shift.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
uint32div.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
uint32mod-constant.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
uint32mod.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
word32and.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
word32ror.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00
zero-extend.js [asm] Fix lots of invalid asm.js tests 2017-02-14 09:26:52 +00:00