WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148998
Implement internal calls in WebAssembly
https://bugs.webkit.org/show_bug.cgi?id=148998
Summary
Implement internal calls in WebAssembly
Sukolsak Sakshuwong
Reported
2015-09-09 01:38:47 PDT
Implement internal calls to functions that return a 32-bit integer in WebAssembly
Attachments
Patch
(17.61 KB, patch)
2015-09-09 01:45 PDT
,
Sukolsak Sakshuwong
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sukolsak Sakshuwong
Comment 1
2015-09-09 01:45:53 PDT
Created
attachment 260849
[details]
Patch
Geoffrey Garen
Comment 2
2015-09-09 14:43:06 PDT
Comment on
attachment 260849
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=260849&action=review
> Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:685 > + Vector<CallCompilationInfo> m_callCompilationInfo;
You need to do something to GC this correctly. See our other handling of CallLinkInfo.
Filip Pizlo
Comment 3
2015-09-09 16:29:16 PDT
Comment on
attachment 260849
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=260849&action=review
>> Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:685 >> + Vector<CallCompilationInfo> m_callCompilationInfo; > > You need to do something to GC this correctly. See our other handling of CallLinkInfo.
I think he's doing it right already. The CallLinkInfos get added to a CodeBlock. The CodeBlock then knows what to do.
Geoffrey Garen
Comment 4
2015-09-09 17:05:12 PDT
Comment on
attachment 260849
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=260849&action=review
> Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:642 > + CallLinkInfo* info = m_codeBlock->addCallLinkInfo();
I see. Is good.
Filip Pizlo
Comment 5
2015-09-09 17:53:39 PDT
Comment on
attachment 260849
[details]
Patch LGTM.
WebKit Commit Bot
Comment 6
2015-09-09 18:43:30 PDT
Comment on
attachment 260849
[details]
Patch Clearing flags on attachment: 260849 Committed
r189563
: <
http://trac.webkit.org/changeset/189563
>
WebKit Commit Bot
Comment 7
2015-09-09 18:43:34 PDT
All reviewed patches have been landed. Closing bug.
Geoffrey Garen
Comment 8
2015-09-10 12:14:59 PDT
Comment on
attachment 260849
[details]
Patch r=me
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug