diff options
author | Chris Lattner <sabre@nondot.org> | 2001-06-25 07:31:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-06-25 07:31:31 +0000 |
commit | bebd60dc9dbea24d588e32b0f21faf9763e9ba87 (patch) | |
tree | 44fdc964f3dcdc87ad3d1a69ebd4d00da893a7ab /lib/AsmParser | |
parent | 3bcd6394ecd3c928d2ea05bb64cacdcae8dc677a (diff) | |
download | external_llvm-bebd60dc9dbea24d588e32b0f21faf9763e9ba87.zip external_llvm-bebd60dc9dbea24d588e32b0f21faf9763e9ba87.tar.gz external_llvm-bebd60dc9dbea24d588e32b0f21faf9763e9ba87.tar.bz2 |
Renamed get.*Operator to create seeing that it would have to be qualified
with the classname anyways.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp | 4 | ||||
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp b/lib/AsmParser/llvmAsmParser.cpp index d52d7a5..98417c4 100644 --- a/lib/AsmParser/llvmAsmParser.cpp +++ b/lib/AsmParser/llvmAsmParser.cpp @@ -1879,7 +1879,7 @@ case 114: case 115: #line 868 "llvmAsmParser.y" { - yyval.InstVal = BinaryOperator::getBinaryOperator(yyvsp[-4].BinaryOpVal, getVal(yyvsp[-3].TypeVal, yyvsp[-2].ValIDVal), getVal(yyvsp[-3].TypeVal, yyvsp[0].ValIDVal)); + yyval.InstVal = BinaryOperator::create(yyvsp[-4].BinaryOpVal, getVal(yyvsp[-3].TypeVal, yyvsp[-2].ValIDVal), getVal(yyvsp[-3].TypeVal, yyvsp[0].ValIDVal)); if (yyval.InstVal == 0) ThrowException("binary operator returned null!"); ; @@ -1887,7 +1887,7 @@ case 115: case 116: #line 873 "llvmAsmParser.y" { - yyval.InstVal = UnaryOperator::getUnaryOperator(yyvsp[-2].UnaryOpVal, getVal(yyvsp[-1].TypeVal, yyvsp[0].ValIDVal)); + yyval.InstVal = UnaryOperator::create(yyvsp[-2].UnaryOpVal, getVal(yyvsp[-1].TypeVal, yyvsp[0].ValIDVal)); if (yyval.InstVal == 0) ThrowException("unary operator returned null!"); ; diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index f178d73..3f71274 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -866,12 +866,12 @@ ValueRefList : Types ValueRef { // Used for call statements... ValueRefListE : ValueRefList | /*empty*/ { $$ = 0; } InstVal : BinaryOps Types ValueRef ',' ValueRef { - $$ = BinaryOperator::getBinaryOperator($1, getVal($2, $3), getVal($2, $5)); + $$ = BinaryOperator::create($1, getVal($2, $3), getVal($2, $5)); if ($$ == 0) ThrowException("binary operator returned null!"); } | UnaryOps Types ValueRef { - $$ = UnaryOperator::getUnaryOperator($1, getVal($2, $3)); + $$ = UnaryOperator::create($1, getVal($2, $3)); if ($$ == 0) ThrowException("unary operator returned null!"); } |