From 78cfff01ba5fc2370c72f01292bae54f30446323 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Mon, 10 Dec 2018 12:55:24 +0100 Subject: [PATCH] rt/sections.d: Update SectionGroup signatures to match on all targets --- src/rt/sections_osx_x86.d | 8 ++++---- src/rt/sections_osx_x86_64.d | 8 ++++---- src/rt/sections_solaris.d | 8 ++++---- src/rt/sections_win32.d | 6 +++--- src/rt/sections_win64.d | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/rt/sections_osx_x86.d b/src/rt/sections_osx_x86.d index cd13fe2a57..01d2a7f399 100644 --- a/src/rt/sections_osx_x86.d +++ b/src/rt/sections_osx_x86.d @@ -44,22 +44,22 @@ struct SectionGroup return dg(_sections); } - @property immutable(ModuleInfo*)[] modules() const + @property immutable(ModuleInfo*)[] modules() const nothrow @nogc { return _moduleGroup.modules; } - @property ref inout(ModuleGroup) moduleGroup() inout + @property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc { return _moduleGroup; } - @property inout(void[])[] gcRanges() inout + @property inout(void[])[] gcRanges() inout nothrow @nogc { return _gcRanges[]; } - @property immutable(FuncTable)[] ehTables() const + @property immutable(FuncTable)[] ehTables() const nothrow @nogc { return _ehTables[]; } diff --git a/src/rt/sections_osx_x86_64.d b/src/rt/sections_osx_x86_64.d index 71594b4eea..146793c064 100644 --- a/src/rt/sections_osx_x86_64.d +++ b/src/rt/sections_osx_x86_64.d @@ -44,22 +44,22 @@ struct SectionGroup return dg(_sections); } - @property immutable(ModuleInfo*)[] modules() const + @property immutable(ModuleInfo*)[] modules() const nothrow @nogc { return _moduleGroup.modules; } - @property ref inout(ModuleGroup) moduleGroup() inout + @property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc { return _moduleGroup; } - @property inout(void[])[] gcRanges() inout + @property inout(void[])[] gcRanges() inout nothrow @nogc { return _gcRanges[]; } - @property immutable(FuncTable)[] ehTables() const + @property immutable(FuncTable)[] ehTables() const nothrow @nogc { return _ehTables[]; } diff --git a/src/rt/sections_solaris.d b/src/rt/sections_solaris.d index a1816b8057..2920f066af 100644 --- a/src/rt/sections_solaris.d +++ b/src/rt/sections_solaris.d @@ -29,24 +29,24 @@ struct SectionGroup return dg(_sections); } - @property immutable(ModuleInfo*)[] modules() const + @property immutable(ModuleInfo*)[] modules() const nothrow @nogc { return _moduleGroup.modules; } - @property ref inout(ModuleGroup) moduleGroup() inout + @property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc { return _moduleGroup; } - @property immutable(FuncTable)[] ehTables() const + @property immutable(FuncTable)[] ehTables() const nothrow @nogc { auto pbeg = cast(immutable(FuncTable)*)&__start_deh; auto pend = cast(immutable(FuncTable)*)&__stop_deh; return pbeg[0 .. pend - pbeg]; } - @property inout(void[])[] gcRanges() inout + @property inout(void[])[] gcRanges() inout nothrow @nogc { return _gcRanges[]; } diff --git a/src/rt/sections_win32.d b/src/rt/sections_win32.d index f705d6ee63..87d9dddca9 100644 --- a/src/rt/sections_win32.d +++ b/src/rt/sections_win32.d @@ -31,17 +31,17 @@ struct SectionGroup return dg(_sections); } - @property immutable(ModuleInfo*)[] modules() const + @property immutable(ModuleInfo*)[] modules() const nothrow @nogc { return _moduleGroup.modules; } - @property ref inout(ModuleGroup) moduleGroup() inout + @property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc { return _moduleGroup; } - @property inout(void[])[] gcRanges() inout + @property inout(void[])[] gcRanges() inout nothrow @nogc { return _gcRanges[]; } diff --git a/src/rt/sections_win64.d b/src/rt/sections_win64.d index 22c5f5d49b..4684790600 100644 --- a/src/rt/sections_win64.d +++ b/src/rt/sections_win64.d @@ -42,7 +42,7 @@ struct SectionGroup } version (Win64) - @property immutable(FuncTable)[] ehTables() const + @property immutable(FuncTable)[] ehTables() const nothrow @nogc { auto pbeg = cast(immutable(FuncTable)*)&_deh_beg; auto pend = cast(immutable(FuncTable)*)&_deh_end;