[libphobos] Committed add hppa version in std.experimental.allocator

Message ID CABOHX+eaiLRJdupotLtHibh_VsS9Ju8HrFz5-S3c7zFnKkYA8Q@mail.gmail.com
State New
Headers show
Series
  • [libphobos] Committed add hppa version in std.experimental.allocator
Related show

Commit Message

Iain Buclaw Feb. 12, 2019, 6:28 p.m.
Hi,

This is a backport from phobos 2.084, the hppa changes that were
applied missed adding this one change in
allocator/building_blocks/region.d.

Bootstrapped and regression tested on x86_64-linux-gnu. Despite not
the ended target that's being fixed, only validates that scoping is
correct.

Committed to trunk as r268810.

-- 
Iain
---

Patch

diff --git a/libphobos/src/MERGE b/libphobos/src/MERGE
index aef240e0722..61c42525d44 100644
--- a/libphobos/src/MERGE
+++ b/libphobos/src/MERGE
@@ -1,4 +1,4 @@ 
-6c9fb28b0f8813d41798202a9d19c6b37ba5da5f
+791c5d2407e500bb4e777d6a90fc96cf250ba2f6
 
 The first line of this file holds the git revision number of the last
 merge done from the dlang/phobos repository.
diff --git a/libphobos/src/std/experimental/allocator/building_blocks/region.d b/libphobos/src/std/experimental/allocator/building_blocks/region.d
index 80157aee7e6..dfcecce72bd 100644
--- a/libphobos/src/std/experimental/allocator/building_blocks/region.d
+++ b/libphobos/src/std/experimental/allocator/building_blocks/region.d
@@ -387,6 +387,7 @@  struct InSituRegion(size_t size, size_t minAlign = platformAlignment)
     else version (X86_64) enum growDownwards = Yes.growDownwards;
     else version (ARM) enum growDownwards = Yes.growDownwards;
     else version (AArch64) enum growDownwards = Yes.growDownwards;
+    else version (HPPA) enum growDownwards = No.growDownwards;
     else version (PPC) enum growDownwards = Yes.growDownwards;
     else version (PPC64) enum growDownwards = Yes.growDownwards;
     else version (MIPS32) enum growDownwards = Yes.growDownwards;