Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 2251433002: [wasm] asm.js - Check stdlib.NaN is valid, prepare for the rest. (Closed)

Created:
4 years, 4 months ago by bradnelson
Modified:
4 years, 4 months ago
Reviewers:
titzer, bradn, John
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] asm.js - Check stdlib.NaN is valid, prepare for the rest. Record which asm.js stdlib members are used and add a check that NaN is actually correctly set. Other stdlib members to be added in a later change. Also add a stdlib argument to Wasm.instantiateModuleFromAsm, in preparation for that function to be replaced by normal asm.js instantiation. BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203 LOG=N R=jpp@chromium.org,titzer@chromium.org Committed: https://crrev.com/561bfcb70d5ed2757ba9477d8fabc95b1c5d20f0 Cr-Commit-Position: refs/heads/master@{#38760}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 4

Patch Set 3 : fix #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -126 lines) Patch
M src/asmjs/asm-js.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/asmjs/asm-js.cc View 1 2 3 2 chunks +87 lines, -2 lines 0 comments Download
M src/asmjs/asm-typer.h View 3 chunks +6 lines, -0 lines 0 comments Download
M src/asmjs/asm-typer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/runtime/runtime-compiler.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/wasm/wasm-js.cc View 5 chunks +48 lines, -68 lines 0 comments Download
M test/mjsunit/regress/regress-599719.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-608630.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/asm-wasm.js View 32 chunks +47 lines, -37 lines 0 comments Download
M test/mjsunit/wasm/asm-wasm-deopt.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/asm-wasm-heap.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/wasm/asm-wasm-stdlib.js View 1 4 chunks +31 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/embenchen/box2d.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/copy.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/corrections.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/fannkuch.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/fasta.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/lua_binarytrees.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/memops.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/primes.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/embenchen/zlib.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (20 generated)
bradnelson
4 years, 4 months ago (2016-08-19 08:00:40 UTC) #11
titzer
lgtm https://codereview.chromium.org/2251433002/diff/20001/src/asmjs/asm-js.cc File src/asmjs/asm-js.cc (right): https://codereview.chromium.org/2251433002/diff/20001/src/asmjs/asm-js.cc#newcode112 src/asmjs/asm-js.cc:112: } Do you want to return true here ...
4 years, 4 months ago (2016-08-19 10:00:29 UTC) #14
bradn
https://codereview.chromium.org/2251433002/diff/20001/src/asmjs/asm-js.cc File src/asmjs/asm-js.cc (right): https://codereview.chromium.org/2251433002/diff/20001/src/asmjs/asm-js.cc#newcode112 src/asmjs/asm-js.cc:112: } On 2016/08/19 10:00:28, titzer wrote: > Do you ...
4 years, 4 months ago (2016-08-19 17:29:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251433002/40001
4 years, 4 months ago (2016-08-19 17:29:24 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_compile_dbg on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_compile_dbg/builds/22878)
4 years, 4 months ago (2016-08-19 17:47:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251433002/60001
4 years, 4 months ago (2016-08-19 17:48:12 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-19 18:25:47 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 18:26:36 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/561bfcb70d5ed2757ba9477d8fabc95b1c5d20f0
Cr-Commit-Position: refs/heads/master@{#38760}

Powered by Google App Engine
This is Rietveld 408576698