mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
simplify expression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226701 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8737be85f6
commit
bc1819e62e
@ -294,9 +294,7 @@ TEST_F(IRBuilderTest, DIBuilder) {
|
||||
auto File = DIB.createFile("F.CBL", "/");
|
||||
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
|
||||
"llvm-cobol74", true, "", 0);
|
||||
auto Type =
|
||||
DIB.createSubroutineType(File,
|
||||
DIB.getOrCreateTypeArray(ArrayRef<Metadata*>()));
|
||||
auto Type = DIB.createSubroutineType(File, DIB.getOrCreateTypeArray(None));
|
||||
auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type,
|
||||
false, true, 1, 0, true, F);
|
||||
EXPECT_TRUE(SP.Verify());
|
||||
|
Loading…
Reference in New Issue
Block a user