isASTErroneous in offlineasm should de-macroify before looking for Errors
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2018 19:16:24 +0000 (19:16 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2018 19:16:24 +0000 (19:16 +0000)
commit18cb8e5fc7abc560d5322ee7f75b652bf00903f1
treea070aa25aa13680d421abdcb1675f6e0939f120d
parentbe96505024fe4c659a5b05eb7671ac87f25f6cbc
isASTErroneous in offlineasm should de-macroify before looking for Errors
https://bugs.webkit.org/show_bug.cgi?id=190634

Reviewed by Mark Lam.

If a macro isn't usable in a configuration it might still cause us to
think the ast is invalid. This change runs the de-macroifier before
looking for errors.

Also, it adds a missing include to Printer.h.

* assembler/Printer.h:
* offlineasm/settings.rb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/Printer.h
Source/JavaScriptCore/offlineasm/settings.rb