summaryrefslogtreecommitdiff
path: root/libphobos
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-12-02 01:42:07 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-12-02 01:46:55 +0100
commit1c5317d6214baec897120320423e6ad9f4980fdf (patch)
tree5453c88a9e734f627bb269fc154d7f69c0184ef4 /libphobos
parentfa10faa72d8e9e97b6e564f8b0a7b602538d0da0 (diff)
libphobos: Add missing ControlState variable for AArch64
Fixes a typo that occurred during the splitting of the std.math module into a package. libphobos/ChangeLog: * src/std/math/hardware.d (FloatingPointControl.getControlState): Add missing ControlState variable for AArch64.
Diffstat (limited to 'libphobos')
-rw-r--r--libphobos/src/std/math/hardware.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/libphobos/src/std/math/hardware.d b/libphobos/src/std/math/hardware.d
index 90bc96df148..b768969d4cf 100644
--- a/libphobos/src/std/math/hardware.d
+++ b/libphobos/src/std/math/hardware.d
@@ -912,6 +912,7 @@ private:
}
else version (AArch64)
{
+ ControlState cont;
asm pure nothrow @nogc
{
"mrs %0, FPCR;" : "=r" (cont);