|
[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
Committed: https://crrev.com/e5f5ac7d2bbab16d0f83edb6d030dfcd1a28e71f
Cr-Commit-Position: refs/heads/master@{#38806}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+496 lines, -546 lines) |
Patch |
|
M |
src/asmjs/asm-js.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/asmjs/asm-typer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
src/asmjs/asm-wasm-builder.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-compiler.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-test.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+23 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/wasm/wasm-js.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+0 lines, -93 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/asm/asm-validation.js
|
View
|
1
2
3
4
5
|
13 chunks |
+34 lines, -30 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-575364.js
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-592352.js
|
View
|
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-599717.js
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-599719.js
|
View
|
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-599825.js
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
D |
test/mjsunit/regress/regress-605488.js
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-608630.js
|
View
|
1
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-613928.js
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-617525.js
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-617526.js
|
View
|
1
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-617529.js
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-618608.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-wasm-crbug-599413.js
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-wasm-crbug-618602.js
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-wasm-crbug-620649.js
|
View
|
1
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm.js
|
View
|
1
2
3
4
5
|
26 chunks |
+190 lines, -220 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-copy.js
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-deopt.js
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-f32.js
|
View
|
4
5
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-f64.js
|
View
|
4
5
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-heap.js
|
View
|
4
5
|
10 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-i32.js
|
View
|
4
5
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-literals.js
|
View
|
4
5
|
10 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-stdlib.js
|
View
|
1
2
3
4
5
|
7 chunks |
+23 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-switch.js
|
View
|
1
2
3
4
5
|
14 chunks |
+32 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/asm-wasm-u32.js
|
View
|
4
5
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/box2d.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/copy.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/corrections.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/fannkuch.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/fasta.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/lua_binarytrees.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/memops.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/primes.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/embenchen/zlib.js
|
View
|
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/wasm/wasm-object-api.js
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 52 (45 generated)
|