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

Issue 2626853003: [wasm] (To|From)JSWrappers with I64 params throw a TypeError upon call. (Closed)

Created:
3 years, 11 months ago by ahaas
Modified:
3 years, 11 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] (To|From)JSWrappers with I64 params throw a TypeError upon call. According to the latest spec changes the WasmToJS wrapper and the JSToWasm wrapper through a TypeError if the signature of the wrapper contains a I64 parameter or return value. Originally the TypeError was thrown when the parameter or return value was converted to or from JS. In addition I removed all special handling of I64 parameters and return values in the wrappers which was already dead code. R=titzer@chromium.org Review-Url: https://codereview.chromium.org/2626853003 Cr-Commit-Position: refs/heads/master@{#42238} Committed: https://chromium.googlesource.com/v8/v8/+/e904894915ff88c5f500fbc1bd816250885ae2d3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -46 lines) Patch
M src/compiler/wasm-compiler.cc View 1 7 chunks +59 lines, -44 lines 0 comments Download
M src/wasm/wasm-module.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
ahaas
3 years, 11 months ago (2017-01-11 13:35:37 UTC) #1
titzer
lgtm with comment https://codereview.chromium.org/2626853003/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2626853003/diff/1/src/compiler/wasm-compiler.cc#newcode2745 src/compiler/wasm-compiler.cc:2745: if (sig->GetReturn(i) == wasm::kWasmI64) { Do ...
3 years, 11 months ago (2017-01-11 13:40:38 UTC) #4
ahaas
https://codereview.chromium.org/2626853003/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2626853003/diff/1/src/compiler/wasm-compiler.cc#newcode2745 src/compiler/wasm-compiler.cc:2745: if (sig->GetReturn(i) == wasm::kWasmI64) { On 2017/01/11 at 13:40:37, ...
3 years, 11 months ago (2017-01-11 14:04:45 UTC) #9
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/2626853003/20001
3 years, 11 months ago (2017-01-11 15:55:50 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 15:58:10 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/e904894915ff88c5f500fbc1bd816250885...

Powered by Google App Engine
This is Rietveld 408576698