OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3788059
)
Switchinst takes a hint for the number of cases it will have.
author
Chris Lattner
<sabre@nondot.org>
Sat, 29 Jan 2005 00:38:45 +0000
(
00:38
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 29 Jan 2005 00:38:45 +0000
(
00:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19899
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/LowerSetJmp.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/LowerSetJmp.cpp
b/lib/Transforms/IPO/LowerSetJmp.cpp
index
a8418fb
..
2ba8a75
100644
(file)
--- a/
lib/Transforms/IPO/LowerSetJmp.cpp
+++ b/
lib/Transforms/IPO/LowerSetJmp.cpp
@@
-352,7
+352,7
@@
LowerSetJmp::SwitchValuePair LowerSetJmp::GetSJSwitch(Function* Func,
CallInst(TryCatchLJ, make_vector<Value*>(GetSetJmpMap(Func), 0), "SJNum");
DecisionBBIL.push_back(SJNum);
- SwitchInst* SI = new SwitchInst(SJNum, Rethrow, DecisionBB);
+ SwitchInst* SI = new SwitchInst(SJNum, Rethrow,
0,
DecisionBB);
return SwitchValMap[Func] = SwitchValuePair(SI, LJVal);
}