mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Use explicit ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "llvm/iTerminators.h"
|
#include "llvm/iTerminators.h"
|
||||||
#include "llvm/iMemory.h"
|
#include "llvm/iMemory.h"
|
||||||
|
#include "llvm/iOperators.h"
|
||||||
#include "llvm/iPHINode.h"
|
#include "llvm/iPHINode.h"
|
||||||
#include "Support/STLExtras.h"
|
#include "Support/STLExtras.h"
|
||||||
#include "Support/DepthFirstIterator.h"
|
#include "Support/DepthFirstIterator.h"
|
||||||
@@ -1528,7 +1529,7 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
|||||||
delete $2;
|
delete $2;
|
||||||
}
|
}
|
||||||
| SetCondOps Types ValueRef ',' ValueRef {
|
| SetCondOps Types ValueRef ',' ValueRef {
|
||||||
$$ = BinaryOperator::create($1, getVal(*$2, $3), getVal(*$2, $5));
|
$$ = new SetCondInst($1, getVal(*$2, $3), getVal(*$2, $5));
|
||||||
if ($$ == 0)
|
if ($$ == 0)
|
||||||
ThrowException("binary operator returned null!");
|
ThrowException("binary operator returned null!");
|
||||||
delete $2;
|
delete $2;
|
||||||
|
Reference in New Issue
Block a user