summaryrefslogtreecommitdiff
path: root/lib/MC/MCParser/DarwinAsmParser.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-05-19 17:48:09 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-05-19 17:48:09 +0000
commit8bd71a1ec1cf2e24aca43b05319fad82e2c00af7 (patch)
treec85e01fbc559fdcf008bf077802491ccbceac75c /lib/MC/MCParser/DarwinAsmParser.cpp
parent440596ffe5bb77a202acb36d5eadd158976ff39a (diff)
downloadllvm-8bd71a1ec1cf2e24aca43b05319fad82e2c00af7.tar.gz
llvm-8bd71a1ec1cf2e24aca43b05319fad82e2c00af7.tar.bz2
llvm-8bd71a1ec1cf2e24aca43b05319fad82e2c00af7.tar.xz
Revert r131644; it's breaking the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCParser/DarwinAsmParser.cpp')
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/MC/MCParser/DarwinAsmParser.cpp b/lib/MC/MCParser/DarwinAsmParser.cpp
index 6f450682cb..3c092cdb19 100644
--- a/lib/MC/MCParser/DarwinAsmParser.cpp
+++ b/lib/MC/MCParser/DarwinAsmParser.cpp
@@ -369,9 +369,11 @@ bool DarwinAsmParser::ParseDirectiveDumpOrLoad(StringRef Directive,
// FIXME: If/when .dump and .load are implemented they will be done in the
// the assembly parser and not have any need for an MCStreamer API.
if (IsDump)
- return Warning(IDLoc, "ignoring directive .dump for now");
+ Warning(IDLoc, "ignoring directive .dump for now");
else
- return Warning(IDLoc, "ignoring directive .load for now");
+ Warning(IDLoc, "ignoring directive .load for now");
+
+ return false;
}
/// ParseDirectiveLsym