mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
If the pass changes _anything_ it must return true
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6856d11231
commit
2a865b015b
@ -85,7 +85,8 @@ namespace {
|
||||
RegMap.clear();
|
||||
MBBMap.clear();
|
||||
F = 0;
|
||||
return false; // We never modify the LLVM itself.
|
||||
// We always build a machine code representation for the function
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
|
@ -85,7 +85,8 @@ namespace {
|
||||
RegMap.clear();
|
||||
MBBMap.clear();
|
||||
F = 0;
|
||||
return false; // We never modify the LLVM itself.
|
||||
// We always build a machine code representation for the function
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user