mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +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:
@@ -491,6 +491,7 @@ Andersens::Node *Andersens::getNodeForConstantPointer(Constant *C) {
|
|||||||
} else {
|
} else {
|
||||||
assert(0 && "Unknown constant pointer!");
|
assert(0 && "Unknown constant pointer!");
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getNodeForConstantPointerTarget - Return the node POINTED TO by the
|
/// getNodeForConstantPointerTarget - Return the node POINTED TO by the
|
||||||
@@ -518,6 +519,7 @@ Andersens::Node *Andersens::getNodeForConstantPointerTarget(Constant *C) {
|
|||||||
} else {
|
} else {
|
||||||
assert(0 && "Unknown constant pointer!");
|
assert(0 && "Unknown constant pointer!");
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// AddGlobalInitializerConstraints - Add inclusion constraints for the memory
|
/// AddGlobalInitializerConstraints - Add inclusion constraints for the memory
|
||||||
|
Reference in New Issue
Block a user