summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit0e84f1e532f89ce5d5c2883739740e2d727b3c37 (patch)
tree0f2bad316b830fdd0c7f4927457d15b852a26630 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentb26334b7ee5c859bedf2ec054805eb7956dca327 (diff)
downloadbcm5719-llvm-0e84f1e532f89ce5d5c2883739740e2d727b3c37.tar.gz
bcm5719-llvm-0e84f1e532f89ce5d5c2883739740e2d727b3c37.zip
Unbreak the build on non-apple compilers :-(
llvm-svn: 27173
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 43679c7daad..3d222788521 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud