Skip to content

Commit

Permalink
Merge pull request #4764 from WalterBright/D1merge
Browse files Browse the repository at this point in the history
backend: so D1 works again
  • Loading branch information
9rnsr committed Jun 24, 2015
2 parents 7cc840a + 2e8e597 commit 2fdfedb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/cdeflnx.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define M_UNIX 1
#define MEMMODELS 1
#if __GNUC__
#define __DMC__ 0
//#define __DMC__ 0
#define _MSC_VER 0
#endif

Expand Down
3 changes: 3 additions & 0 deletions src/backend/rtlsym.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ void rtlsym_init()
tv->Tcount++;
#endif

// Only used by dmd1 for RTLSYM_THROWC
type *tw = NULL;

#undef SYMBOL_Z
#define SYMBOL_Z(e, fl, saved, n, flags, ty) \
if (ty) rtlsym[RTLSYM_##e]->Stype = (ty); \
Expand Down
1 change: 1 addition & 0 deletions src/backend/rtlsym.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#define RTLSYMS \
\
SYMBOL_MARS(THROW, FLfunc,(mES | mBP),"_d_throw@4", SFLexit, tw) /* D1 only */ \
SYMBOL_MARS(THROWC, FLfunc,(mES | mBP),"_d_throwc", SFLexit, t) \
SYMBOL_MARS(MONITOR_HANDLER, FLfunc,FREGSAVED,"_d_monitor_handler", 0, 0) \
SYMBOL_MARS(MONITOR_PROLOG, FLfunc,FREGSAVED,"_d_monitor_prolog",0,t) \
Expand Down

0 comments on commit 2fdfedb

Please sign in to comment.