aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-07 08:45:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-07 08:45:03 +0000
commit7ddca30f311423933ab27bd48727a7226ac3e159 (patch)
tree239bd01f526a562dd807b0e37df2cb46b2aa708e /lib/Target/X86
parent20927f26fcd7d0394bc60c58c61d879a83adac0d (diff)
downloadexternal_llvm-7ddca30f311423933ab27bd48727a7226ac3e159.zip
external_llvm-7ddca30f311423933ab27bd48727a7226ac3e159.tar.gz
external_llvm-7ddca30f311423933ab27bd48727a7226ac3e159.tar.bz2
Disable X86 AsmMatcher for now, it is causing gcc-4.0 to run out of memory on
i386-apple-darwin9. This presumably will get fixed once the generated code improves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 9d85f4d..5b554ca8 100644
--- a/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -417,4 +417,23 @@ extern "C" void LLVMInitializeX86AsmParser() {
RegisterAsmParser<X86ATTAsmParser> Y(TheX86_64Target);
}
+// FIXME: Disabled for now, this is causing gcc-4.0 to run out of memory during
+// building.
+#if 0
+
#include "X86GenAsmMatcher.inc"
+
+#else
+
+bool X86ATTAsmParser::MatchInstruction(SmallVectorImpl<X86Operand> &Operands,
+ MCInst &Inst) {
+ return false;
+}
+
+bool X86ATTAsmParser::MatchRegisterName(const StringRef &Name,
+ unsigned &RegNo) {
+ return false;
+}
+
+#endif
+