summaryrefslogtreecommitdiff
path: root/unittests/MI/LiveIntervalTest.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-16 21:03:24 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-16 21:03:24 +0000
commit7c7aba6e5fef47a01a136be655b0a92cfd7090f6 (patch)
tree99ec531924f6078534b100ab9d7696abce848099 /unittests/MI/LiveIntervalTest.cpp
parent7ab83427af0f77b59941ceba41d509d7d097b065 (diff)
Notes
Diffstat (limited to 'unittests/MI/LiveIntervalTest.cpp')
-rw-r--r--unittests/MI/LiveIntervalTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/MI/LiveIntervalTest.cpp b/unittests/MI/LiveIntervalTest.cpp
index 7118a43e6d88..01dce37d9c6d 100644
--- a/unittests/MI/LiveIntervalTest.cpp
+++ b/unittests/MI/LiveIntervalTest.cpp
@@ -151,8 +151,7 @@ body: |
std::unique_ptr<MIRParser> MIR;
std::unique_ptr<Module> M = parseMIR(Context, PM, MIR, *TM, MIRString,
"func");
- if (!M)
- report_fatal_error("Could not parse MIR code\n");
+ ASSERT_TRUE(M);
PM.add(new TestPass(T));