mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-21 01:25:20 +00:00
Slight efficiency improvement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2b5dcba54
commit
787645839a
@ -393,11 +393,8 @@ void GraphBuilder::visitCallInst(CallInst &CI) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void GraphBuilder::visitFreeInst(FreeInst &FI) {
|
void GraphBuilder::visitFreeInst(FreeInst &FI) {
|
||||||
DSNodeHandle Dest = getValueDest(*FI.getOperand(0));
|
|
||||||
if (Dest.getNode() == 0) return;
|
|
||||||
|
|
||||||
// Mark that the node is written to...
|
// Mark that the node is written to...
|
||||||
Dest.getNode()->NodeType |= DSNode::Modified;
|
getValueDest(*FI.getOperand(0)).getNode()->NodeType |= DSNode::Modified;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Handle casts...
|
/// Handle casts...
|
||||||
|
Loading…
Reference in New Issue
Block a user