| Index: src/IceConverter.cpp
|
| diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp
|
| index 89fa2e3618242c8f7c1ee49212efac90c85b4548..34bdcb9976b313d15f9b2fc816a4e92f29d851f0 100644
|
| --- a/src/IceConverter.cpp
|
| +++ b/src/IceConverter.cpp
|
| @@ -586,7 +586,7 @@ private:
|
| uint32_t Align = Inst->getAlignment();
|
| Ice::Variable *Dest = mapValueToIceVar(Inst, Ice::getPointerType());
|
|
|
| - return Ice::InstAlloca::create(Func.get(), ByteCount, Align, Dest);
|
| + return Ice::InstAlloca::create(Func.get(), Dest, ByteCount, Align);
|
| }
|
|
|
| Ice::Inst *convertUnreachableInstruction(const UnreachableInst * /*Inst*/) {
|
|
|