v8/test/mjsunit/asm
Michael Starzinger f09460389b [asm.js] Test and fix "|0" annotation of calls.
This fixes the validation of "|0" annotations of call sites that are
used to indicate a "signed" return type of functions. We use lookahead
during call validation and request deferred validation as part of the
actual OR-expression. Special care has to be taken to get precedence
levels of all involved operators right.

R=clemensh@chromium.org
TEST=mjsunit/asm/call-annotation
BUG=v8:6183

Change-Id: If0586f669e7cee26a13425b0fd9f41098e852d68
Reviewed-on: https://chromium-review.googlesource.com/475871
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44639}
2017-04-13 10:38:22 +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] Fix and enable several asm.js tests with the new parser. 2017-03-28 17:43:09 +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
call-annotation.js [asm.js] Test and fix "|0" annotation of calls. 2017-04-13 10:38:22 +00:00
call-collisions.js [asm.js] Test and fix call kind collisions. 2017-04-11 10:05:03 +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
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 [Flags] Remove --ignition-staging flag. 2017-03-14 23:07:09 +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