From 401ec7f6a9fb339f752ec424efe13431a556cc6d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Mar 2006 16:10:59 +0000 Subject: [PATCH] Unbreak the build on non-apple compilers :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27173 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 43679c7daad..3d222788521 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(getOperand(hasChain))->getValue(); return Intrinsic::getName((Intrinsic::ID)IID); + } case ISD::BUILD_VECTOR: return "BUILD_VECTOR"; case ISD::TargetConstant: return "TargetConstant";