summaryrefslogtreecommitdiff
path: root/js/src/jit/Safepoints.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
committerMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
commit872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (patch)
tree1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /js/src/jit/Safepoints.cpp
parent904aa57090afbadb92438be951ddd1a2ba17a900 (diff)
downloadGRE-872bfa373ddfc184e17caf1ba38dbb02ed9c37f0.tar.gz
Issue #15 - Part 3: Remove more old gcc compiler hacks.
Diffstat (limited to 'js/src/jit/Safepoints.cpp')
-rw-r--r--js/src/jit/Safepoints.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/src/jit/Safepoints.cpp b/js/src/jit/Safepoints.cpp
index 9446861a0..27cb64254 100644
--- a/js/src/jit/Safepoints.cpp
+++ b/js/src/jit/Safepoints.cpp
@@ -264,11 +264,7 @@ AllocationToPartKind(const LAllocation& a)
return Part_Arg;
}
-// gcc 4.5 doesn't actually inline CanEncodeInfoInHeader when only
-// using the "inline" keyword, and miscompiles the function as well
-// when doing block reordering with branch prediction information.
-// See bug 799295 comment 71.
-static MOZ_ALWAYS_INLINE bool
+static inline bool
CanEncodeInfoInHeader(const LAllocation& a, uint32_t* out)
{
if (a.isGeneralReg()) {