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

Commit

Permalink
Mark __gdc_begin_catch as ECT_NOTHROW.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw committed Feb 11, 2018
1 parent e12299c commit 6e28e5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gcc/d/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2018-02-11 Iain Buclaw <[email protected]>

* runtime.def (BEGIN_CATCH): Set ECF_NOTHROW.

2018-02-11 Iain Buclaw <[email protected]>

* runtime.def (NEWCLASS): Set ECF_LEAF.
Expand Down
3 changes: 2 additions & 1 deletion gcc/d/runtime.def
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ DEF_D_RUNTIME (AADELX, "_aaDelX", RT(BOOL),

/* Used for throw() expressions. */
DEF_D_RUNTIME (THROW, "_d_throw", RT(VOID), P1(OBJECT), ECF_NORETURN)
DEF_D_RUNTIME (BEGIN_CATCH, "__gdc_begin_catch", RT(VOIDPTR), P1(VOIDPTR), 0)
DEF_D_RUNTIME (BEGIN_CATCH, "__gdc_begin_catch", RT(VOIDPTR), P1(VOIDPTR),
ECF_NOTHROW)

/* C++ exception handlers. */
DEF_D_RUNTIME (CXA_BEGIN_CATCH, "__cxa_begin_catch", RT(VOIDPTR), P1(VOIDPTR),
Expand Down

0 comments on commit 6e28e5a

Please sign in to comment.