mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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