Index: unittest/BitcodeMunge.cpp |
diff --git a/unittest/BitcodeMunge.cpp b/unittest/BitcodeMunge.cpp |
index a6d283861db4d7e826b290fb474f22a43acb217e..c97388116cfe017fcf5bcf310dda56477d3b36b2 100644 |
--- a/unittest/BitcodeMunge.cpp |
+++ b/unittest/BitcodeMunge.cpp |
@@ -34,7 +34,7 @@ bool IceTest::SubzeroBitcodeMunger::runTest( |
Translator.translateBuffer(TestName, MungedInput.get()); |
cleanupTest(); |
- return Translator.getErrorStatus() == 0; |
+ return Translator.getErrorStatus().value() == 0; |
} |
} // end of namespace IceTest |