mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Unbreak build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b3c079cd5
commit
02a4da2c22
@ -658,7 +658,8 @@ void X86DAGToDAGISel::InstructionSelect() {
|
||||
CurBB = BB; // BB can change as result of isel.
|
||||
if (!OptForSize) {
|
||||
const Function *F = CurDAG->getMachineFunction().getFunction();
|
||||
OptForSize = !F->isDeclaration() && F->hasNote(Attribute::OptimizeForSize);
|
||||
OptForSize = !F->isDeclaration() &&
|
||||
F->hasFnAttr(Attribute::OptimizeForSize);
|
||||
}
|
||||
|
||||
DEBUG(BB->dump());
|
||||
|
Loading…
Reference in New Issue
Block a user