mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
Fix bot breakage in InstructionsTest.
Makes sure the Call dies before the Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1003e8fbfa
commit
927eb31eb4
@ -62,7 +62,7 @@ TEST(InstructionsTest, CallInst) {
|
|||||||
Value *Args[] = {ConstantInt::get(Type::getInt8Ty(C), 20),
|
Value *Args[] = {ConstantInt::get(Type::getInt8Ty(C), 20),
|
||||||
ConstantInt::get(Type::getInt32Ty(C), 9999),
|
ConstantInt::get(Type::getInt32Ty(C), 9999),
|
||||||
ConstantInt::get(Type::getInt64Ty(C), 42)};
|
ConstantInt::get(Type::getInt64Ty(C), 42)};
|
||||||
CallInst *Call = CallInst::Create(F, Args);
|
std::unique_ptr<CallInst> Call(CallInst::Create(F, Args));
|
||||||
|
|
||||||
// Make sure iteration over a call's arguments works as expected.
|
// Make sure iteration over a call's arguments works as expected.
|
||||||
unsigned Idx = 0;
|
unsigned Idx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user