Bug 149200

Summary: Convert return values from JavaScript functions to the expected types in WebAssembly
Product: WebKit Reporter: Sukolsak Sakshuwong <sukolsak>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, fpizlo, ggaren, mark.lam, saam, sukolsak, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 146064    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Update to ToT and add a link to https://bugs.webkit.org/show_bug.cgi?id=149310 none

Description Sukolsak Sakshuwong 2015-09-15 17:56:04 PDT
Convert return values from JavaScript functions to the expected types in WebAssembly
Comment 1 Sukolsak Sakshuwong 2015-09-15 18:03:45 PDT
Created attachment 261274 [details]
Patch
Comment 2 Sukolsak Sakshuwong 2015-09-15 18:07:28 PDT
Created attachment 261276 [details]
Patch
Comment 3 Sukolsak Sakshuwong 2015-09-15 18:08:28 PDT
Created attachment 261277 [details]
Patch
Comment 4 Sukolsak Sakshuwong 2015-09-17 02:57:02 PDT
Created attachment 261385 [details]
Patch
Comment 5 Mark Lam 2015-09-17 10:27:25 PDT
Comment on attachment 261385 [details]
Patch

r=me
Comment 6 Saam Barati 2015-09-17 10:34:06 PDT
Comment on attachment 261385 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=261385&action=review

r=me with a comment

> Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:109
> +            // FIXME: No need to do type conversion if the caller is a WebAssembly function.

lets open a bug for this (if there isn't already one) and link it here.

> Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:984
> +        // FIXME: No need to do type conversion if the callee is a WebAssembly function.

Let's open a bug for this if there isn't one and link it here.
Comment 7 Sukolsak Sakshuwong 2015-09-17 16:14:17 PDT
Created attachment 261449 [details]
Update to ToT and add a link to https://bugs.webkit.org/show_bug.cgi?id=149310
Comment 8 WebKit Commit Bot 2015-09-17 17:04:05 PDT
Comment on attachment 261449 [details]
Update to ToT and add a link to https://bugs.webkit.org/show_bug.cgi?id=149310

Clearing flags on attachment: 261449

Committed r189946: <http://trac.webkit.org/changeset/189946>
Comment 9 WebKit Commit Bot 2015-09-17 17:04:09 PDT
All reviewed patches have been landed.  Closing bug.