mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Avoid extra copy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9de906c72a
commit
0c8d73b74c
@ -216,7 +216,6 @@ DSNodeHandle &GraphBuilder::getValueDest(Value &V) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// getLink - This method is used to return the specified link in the
|
/// getLink - This method is used to return the specified link in the
|
||||||
/// specified node if one exists. If a link does not already exist (it's
|
/// specified node if one exists. If a link does not already exist (it's
|
||||||
/// null), then we create a new node, link it, then return it. We must
|
/// null), then we create a new node, link it, then return it. We must
|
||||||
@ -356,7 +355,7 @@ void GraphBuilder::visitReturnInst(ReturnInst &RI) {
|
|||||||
|
|
||||||
void GraphBuilder::visitCallInst(CallInst &CI) {
|
void GraphBuilder::visitCallInst(CallInst &CI) {
|
||||||
// Add a new function call entry...
|
// Add a new function call entry...
|
||||||
FunctionCalls.push_back(DSCallSite(CI));
|
FunctionCalls.push_back(CI);
|
||||||
DSCallSite &Args = FunctionCalls.back();
|
DSCallSite &Args = FunctionCalls.back();
|
||||||
|
|
||||||
// Set up the return value...
|
// Set up the return value...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user