mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Fix warnings about reaching end of non-void function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a576b00b6
commit
1fc3739560
@ -491,6 +491,7 @@ Andersens::Node *Andersens::getNodeForConstantPointer(Constant *C) {
|
||||
} else {
|
||||
assert(0 && "Unknown constant pointer!");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// getNodeForConstantPointerTarget - Return the node POINTED TO by the
|
||||
@ -518,6 +519,7 @@ Andersens::Node *Andersens::getNodeForConstantPointerTarget(Constant *C) {
|
||||
} else {
|
||||
assert(0 && "Unknown constant pointer!");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// AddGlobalInitializerConstraints - Add inclusion constraints for the memory
|
||||
|
Loading…
Reference in New Issue
Block a user