From 4eb4e0cb6f367236e77bf9ac992489dff3f92e86 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 14 Dec 2013 10:44:26 -0800 Subject: fix i64 ret --- lib/Transforms/NaCl/ExpandI64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Transforms') diff --git a/lib/Transforms/NaCl/ExpandI64.cpp b/lib/Transforms/NaCl/ExpandI64.cpp index 14d668c9c8..f1f8e2dcfa 100644 --- a/lib/Transforms/NaCl/ExpandI64.cpp +++ b/lib/Transforms/NaCl/ExpandI64.cpp @@ -285,8 +285,8 @@ void ExpandI64::splitInst(Instruction *I, DataLayout& DL) { ensureFuncs(); SmallVector Args; Args.push_back(Zero); // will be fixed - Instruction *Low = CopyDebug(CallInst::Create(SetHigh, Args, "", I), I); - Instruction *High = CopyDebug(ReturnInst::Create(I->getContext(), Zero, I), I); // will be fixed + Instruction *High = CopyDebug(CallInst::Create(SetHigh, Args, "", I), I); + Instruction *Low = CopyDebug(ReturnInst::Create(I->getContext(), Zero, I), I); // will be fixed SplitInfo &Split = Splits[I]; Split.ToFix.push_back(Low); Split.ToFix.push_back(High); -- cgit v1.2.3-70-g09d2