diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-14 10:44:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-14 10:44:26 -0800 |
commit | 4eb4e0cb6f367236e77bf9ac992489dff3f92e86 (patch) | |
tree | 03c0ee775a5b94f853700cf681828c305e1e39ce | |
parent | c0d7babddabc278161072ce22f60e83ec0f31a57 (diff) |
fix i64 ret
-rw-r--r-- | lib/Transforms/NaCl/ExpandI64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Value *, 1> 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); |