mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Unbreak build.
llvm-svn: 56727
This commit is contained in:
parent
85a19dcb9e
commit
dc1d75b1b5
@ -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