Use the LLVM disassembler on ARM64 if we are enabling the FTL
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 09:17:18 +0000 (09:17 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 09:17:18 +0000 (09:17 +0000)
commit20d115933b7af40fbdf79ff51cb9a8ebc682dcc5
tree18524a8dae8a6fc67475e52cfec1b47318aa2ee9
parent06f0a9133e3508a40124b9d232fe4e11d0655781
Use the LLVM disassembler on ARM64 if we are enabling the FTL
https://bugs.webkit.org/show_bug.cgi?id=129785

Source/JavaScriptCore:

Reviewed by Geoffrey Garen.

Our disassembler can't handle some of the code sequences that LLVM emits. LLVM's disassembler
is strictly more capable at this point. Use it if it's available.

* disassembler/ARM64Disassembler.cpp:
(JSC::tryToDisassemble):

Source/WTF:

Reviewed by Geoffrey Garen.

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/disassembler/ARM64Disassembler.cpp
Source/WTF/ChangeLog
Source/WTF/wtf/Platform.h