aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-27 16:10:59 +0000
committerChris Lattner <sabre@nondot.org>2006-03-27 16:10:59 +0000
commit401ec7f6a9fb339f752ec424efe13431a556cc6d (patch)
treec932cdb64c7e2ac6333da17546572ade30163b1b /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parenta3b7f6226f4fc5d7d3ee7d40d8f910a6917a6a2e (diff)
Unbreak the build on non-apple compilers :-(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 43679c7daa..3d22278852 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2689,10 +2689,11 @@ const char *SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::FrameIndex: return "FrameIndex";
case ISD::ConstantPool: return "ConstantPool";
case ISD::ExternalSymbol: return "ExternalSymbol";
- case ISD::INTRINSIC:
+ case ISD::INTRINSIC: {
bool hasChain = getOperand(0).getValueType() == MVT::Other;
unsigned IID = cast<ConstantSDNode>(getOperand(hasChain))->getValue();
return Intrinsic::getName((Intrinsic::ID)IID);
+ }
case ISD::BUILD_VECTOR: return "BUILD_VECTOR";
case ISD::TargetConstant: return "TargetConstant";