summaryrefslogtreecommitdiff
path: root/js/src/jit/Safepoints.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-03-02 21:23:45 +0000
committerMoonchild <moonchild@palemoon.org>2022-03-02 21:23:45 +0000
commit5fe31b024217a7057db60c52d8fb535cc2bc05a3 (patch)
tree1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /js/src/jit/Safepoints.cpp
parent39e80ed9afe2e5bba65a2786c7eff7c3189d49e8 (diff)
parent872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (diff)
downloadGRE-5fe31b024217a7057db60c52d8fb535cc2bc05a3.tar.gz
Merge branch 'remove-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()) {