Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Implement Exception/Error chaining in unwind EH routines. #98

Merged
merged 1 commit into from
Apr 20, 2015

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Apr 19, 2015

@jpf91 - This needs a quick review.

@ibuclaw
Copy link
Member Author

ibuclaw commented Apr 20, 2015

Needs changelog entries

@ibuclaw ibuclaw force-pushed the eh_chaining branch 2 times, most recently from d0cf2ef to 180ab84 Compare April 20, 2015 07:29
@ibuclaw
Copy link
Member Author

ibuclaw commented Apr 20, 2015

Passes the x86_64 testsuite (at least).

@@ -573,8 +573,14 @@ class IRVisitor : public Visitor

if (vcatch->var)
{
tree object = convert_expr(build_exception_object(),
build_object_type(), vcatch->type);
// Get return D's internal exception Object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-return ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot.

@jpf91
Copy link
Contributor

jpf91 commented Apr 20, 2015

LGTM.

ibuclaw added a commit that referenced this pull request Apr 20, 2015
Implement Exception/Error chaining in unwind EH routines.
@ibuclaw ibuclaw merged commit e9bfc03 into D-Programming-GDC:master Apr 20, 2015
@ibuclaw ibuclaw deleted the eh_chaining branch April 20, 2015 11:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants