From 4aea9d3d47e7e47630704fdf6628221fa45f6151 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 2 Jun 2009 17:01:00 +0000 Subject: Use ConstantExpr::alloc instead of ref directly - The "constant optimization" embedded inside ref is going away. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72730 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Expr/ExprTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unittests/Expr') diff --git a/unittests/Expr/ExprTest.cpp b/unittests/Expr/ExprTest.cpp index 9220c53e..72b37ab2 100644 --- a/unittests/Expr/ExprTest.cpp +++ b/unittests/Expr/ExprTest.cpp @@ -22,9 +22,9 @@ ref getConstant(int value, Expr::Width width) { } TEST(ExprTest, BasicConstruction) { - EXPECT_EQ(ref(0, 32), - SubExpr::create(ref(10, 32), - ref(10, 32))); + EXPECT_EQ(ConstantExpr::alloc(0, 32), + SubExpr::create(ConstantExpr::alloc(10, 32), + ConstantExpr::alloc(10, 32))); } TEST(ExprTest, ConcatExtract) { -- cgit 1.4.1