Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
7db49ce5
Commit
7db49ce5
authored
21 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
Intrinsic functions cannot throw
llvm-svn: 11383
parent
d6687b9b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/Transforms/IPO/PruneEH.cpp
+1
-1
1 addition, 1 deletion
llvm/lib/Transforms/IPO/PruneEH.cpp
with
1 addition
and
1 deletion
llvm/lib/Transforms/IPO/PruneEH.cpp
+
1
−
1
View file @
7db49ce5
...
@@ -53,7 +53,7 @@ bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
...
@@ -53,7 +53,7 @@ bool PruneEH::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
bool
SCCMightThrow
=
false
;
bool
SCCMightThrow
=
false
;
for
(
unsigned
i
=
0
,
e
=
SCC
.
size
();
!
SCCMightThrow
&&
i
!=
e
;
++
i
)
for
(
unsigned
i
=
0
,
e
=
SCC
.
size
();
!
SCCMightThrow
&&
i
!=
e
;
++
i
)
if
(
Function
*
F
=
SCC
[
i
]
->
getFunction
())
if
(
Function
*
F
=
SCC
[
i
]
->
getFunction
())
if
(
F
->
isExternal
())
{
if
(
F
->
isExternal
()
&&
!
F
->
getIntrinsicID
()
)
{
SCCMightThrow
=
true
;
SCCMightThrow
=
true
;
}
else
{
}
else
{
// Check to see if this function performs an unwind or calls an
// Check to see if this function performs an unwind or calls an
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment