summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-03-20 20:43:18 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-03-20 20:43:18 +0000
commit1baf5c84ab8c060952f99fad655e801e948e96f6 (patch)
treec547069a82d4fbe43bb0558d614684a1f49ff26c /llvm/lib/CodeGen/SelectionDAG
parente06855e684bd526ece733f27393128c2faee1413 (diff)
downloadbcm5719-llvm-1baf5c84ab8c060952f99fad655e801e948e96f6.tar.gz
bcm5719-llvm-1baf5c84ab8c060952f99fad655e801e948e96f6.zip
Fix some VC++ warnings.
llvm-svn: 35224
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 262549a2e97..06544bfaf6c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -394,6 +394,7 @@ static const TargetRegisterClass *getPhysicalRegisterRegClass(
if ((*I)->hasType(VT) && (*I)->contains(reg))
return *I;
assert(false && "Couldn't find the register class");
+ return 0;
}
/// EmitNode - Generate machine code for an node and needed dependencies.
OpenPOWER on IntegriCloud