[Webkit-unassigned] [Bug 138523] [JSC] Lower switch statements at LLVM IR level when using FastISel.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 7 16:03:25 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=138523
--- Comment #5 from Juergen Ributzka <juergen at apple.com> ---
It works on my machines with the latest headers. I guess the llvm src code is not up-to-date on that machine. From where do you get the code - from the LLVM drops?
(In reply to comment #3)
> Comment on attachment 241210 [details]
> Patch
>
> ....Hmmm... looks like a missing #include?:
>
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/library/LLVMExports.cpp:
> 103:32: error: use of undeclared identifier 'LLVMAddLowerSwitchPass'; did
> you mean 'LLVMAddLoopUnswitchPass'?
> FOR_EACH_LLVM_API_FUNCTION(LLVM_API_FUNCTION_ASSIGNMENT);
> ^
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/library/LLVMExports.cpp:
> 30:
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/LLVMAPI.h:31:
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h:636:5:
> note: expanded from macro 'FOR_EACH_LLVM_API_FUNCTION'
> macro(void, AddLowerSwitchPass, (LLVMPassManagerRef PM)) \
> ^
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/library/LLVMExports.cpp:
> 102:20: note: expanded from macro 'LLVM_API_FUNCTION_ASSIGNMENT'
> result->name = LLVM##name;
> ^
> <scratch space>:10:1: note: expanded from here
> LLVMAddLowerSwitchPass
> ^
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/library/LLVMExports.cpp:
> 30:
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/LLVMAPI.h:31:
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/LLVMAPIFunctions.h:29:
> In file included from
> /Volumes/Data/EWS/WebKit/Source/JavaScriptCore/llvm/LLVMHeaders.h:56:
> /Volumes/Data/EWS/WebKit/WebKitBuild/Release/usr/local/LLVMForJavaScriptCore/
> include/llvm-c/Transforms/Scalar.h:78:6: note: 'LLVMAddLoopUnswitchPass'
> declared here
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141108/d48ab0ed/attachment-0002.html>
More information about the webkit-unassigned
mailing list