Fix the linker. This bug was not fun to track down. grr
llvm-svn: 1090
This commit is contained in:
parent
866cbddec8
commit
c7724169bf
|
@ -79,7 +79,7 @@ public:
|
|||
|
||||
virtual Instruction *clone() const {
|
||||
return new MallocInst(getType(),
|
||||
Operands.size() ? (Value*)Operands[1].get() : 0);
|
||||
Operands.size() ? (Value*)Operands[0].get() : 0);
|
||||
}
|
||||
|
||||
virtual const char *getOpcodeName() const { return "malloc"; }
|
||||
|
@ -106,7 +106,7 @@ public:
|
|||
|
||||
virtual Instruction *clone() const {
|
||||
return new AllocaInst(getType(),
|
||||
Operands.size() ? (Value*)Operands[1].get() : 0);
|
||||
Operands.size() ? (Value*)Operands[0].get() : 0);
|
||||
}
|
||||
|
||||
virtual const char *getOpcodeName() const { return "alloca"; }
|
||||
|
|
Loading…
Reference in New Issue