RESOLVED FIXED 106027
CallLinkStatus should be aware of closure calls, and the DFG bytecode parser should use that as its sole internal notion of how to optimize calls
https://bugs.webkit.org/show_bug.cgi?id=106027
Summary CallLinkStatus should be aware of closure calls, and the DFG bytecode parser ...
Filip Pizlo
Reported 2013-01-03 12:13:15 PST
Patch forthcoming.
Attachments
the patch (24.69 KB, patch)
2013-01-03 12:15 PST, Filip Pizlo
mhahnenberg: review+
Filip Pizlo
Comment 1 2013-01-03 12:15:44 PST
Created attachment 181200 [details] the patch
WebKit Review Bot
Comment 2 2013-01-03 12:19:36 PST
Attachment 181200 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/bytecode/CallLinkStatus.cpp:83: Declaration has space between type name and & in CallLinkStatus &CallLinkStatus [whitespace/declaration] [3] Source/JavaScriptCore/bytecode/CallLinkStatus.h:58: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Hahnenberg
Comment 3 2013-01-03 12:44:01 PST
Comment on attachment 181200 [details] the patch r=me
Mark Hahnenberg
Comment 4 2013-01-03 12:44:34 PST
(modulo style, of course)
Filip Pizlo
Comment 5 2013-01-03 14:06:15 PST
Ryosuke Niwa
Comment 6 2013-01-03 14:15:00 PST
This patch appears to have broken Windows builds: http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/41862 > Creating library C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\lib\JavaScriptCore.lib and object C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\lib\JavaScriptCore.exp 5>CallLinkStatus.obj : error LNK2019: unresolved external symbol "public: enum JSC::Intrinsic __thiscall JSC::ExecutableBase::intrinsic(void)const " (?intrinsic@ExecutableBase@JSC@@QBE?AW4Intrinsic@2@XZ) referenced in function "public: enum JSC::Intrinsic __thiscall JSC::ExecutableBase::intrinsicFor(enum JSC::CodeSpecializationKind)const " (?intrinsicFor@ExecutableBase@JSC@@QBE?AW4Intrinsic@2@W4CodeSpecializationKind@2@@Z) 5>C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\bin\JavaScriptCore.dll : fatal error LNK1120: 1 unresolved externals
Filip Pizlo
Comment 7 2013-01-03 14:17:27 PST
(In reply to comment #6) > This patch appears to have broken Windows builds: > http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/41862 > > > Creating library C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\lib\JavaScriptCore.lib and object C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\lib\JavaScriptCore.exp > 5>CallLinkStatus.obj : error LNK2019: unresolved external symbol "public: enum JSC::Intrinsic __thiscall JSC::ExecutableBase::intrinsic(void)const " (?intrinsic@ExecutableBase@JSC@@QBE?AW4Intrinsic@2@XZ) referenced in function "public: enum JSC::Intrinsic __thiscall JSC::ExecutableBase::intrinsicFor(enum JSC::CodeSpecializationKind)const " (?intrinsicFor@ExecutableBase@JSC@@QBE?AW4Intrinsic@2@W4CodeSpecializationKind@2@@Z) > 5>C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\bin\JavaScriptCore.dll : fatal error LNK1120: 1 unresolved externals Build fix on the way.
Filip Pizlo
Comment 8 2013-01-03 14:25:10 PST
Csaba Osztrogonác
Comment 9 2013-02-08 05:24:33 PST
Note You need to log in before you can comment on or make changes to this bug.