mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 01:25:10 +00:00
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
This commit is contained in:
@@ -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!");
|
||||
;
|
||||
|
Reference in New Issue
Block a user