summaryrefslogtreecommitdiff
path: root/src/jit/fp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/fp.h')
-rw-r--r--src/jit/fp.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/jit/fp.h b/src/jit/fp.h
index 44bf684362..eb8a79613d 100644
--- a/src/jit/fp.h
+++ b/src/jit/fp.h
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-
#ifndef _JIT_FP
#define _JIT_FP
@@ -12,13 +11,12 @@
enum dummyFPenum
{
- #define REGDEF(name, rnum, mask, sname) dummmy_##name = rnum,
- #include "registerfp.h"
+#define REGDEF(name, rnum, mask, sname) dummmy_##name = rnum,
+#include "registerfp.h"
FP_VIRTUALREGISTERS,
};
-
// FlatFPStateX87 holds the state of the virtual register file. For each
// virtual register we keep track to which physical register we're
// mapping. We also keep track of the physical stack.
@@ -42,10 +40,10 @@ public:
unsigned Pop ();
void Push (unsigned uEntry);
bool IsEmpty ();
-
+
// Debug/test methods
static bool AreEqual (FlatFPStateX87* pSrc, FlatFPStateX87* pDst);
- #ifdef DEBUG
+#ifdef DEBUG
bool IsValidEntry (unsigned uEntry);
bool IsConsistent ();
void UpdateMappingFromStack ();
@@ -60,16 +58,16 @@ public:
{
m_bIgnoreConsistencyChecks = bIgnore;
}
- #else
+#else
inline void IgnoreConsistencyChecks(bool bIgnore)
- {
- }
- #endif
+ {
+ }
+#endif
unsigned m_uVirtualMap[FP_VIRTUALREGISTERS];
unsigned m_uStack[FP_PHYSICREGISTERS];
unsigned m_uStackSize;
-};
-
+};
+
#endif // FEATURE_STACK_FP_X87
#endif