mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
MethodPass's are now guaranteed to not be run on external methods!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -511,7 +511,6 @@ void SCCP::OperandChangedState(User *U) {
|
||||
// to prove whether a value is constant and whether blocks are used.
|
||||
//
|
||||
bool SCCPPass::doSCCP(Method *M) {
|
||||
if (M->isExternal()) return false;
|
||||
SCCP S(M);
|
||||
return S.doSCCP();
|
||||
}
|
||||
|
Reference in New Issue
Block a user