https://bugs.webkit.org/show_bug.cgi?id=154324
Reviewed by Benjamin Poulain.
Source/JavaScriptCore:
* dfg/DFGCommon.h:
Source/WTF:
* wtf/Platform.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196686
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2016-02-16 Filip Pizlo <fpizlo@apple.com>
+ FTL_USES_B3 should be unconditionally true
+ https://bugs.webkit.org/show_bug.cgi?id=154324
+
+ Reviewed by Benjamin Poulain.
+
+ * dfg/DFGCommon.h:
+
+2016-02-16 Filip Pizlo <fpizlo@apple.com>
+
FTL should support CompareEq(String:, String:)
https://bugs.webkit.org/show_bug.cgi?id=154269
rdar://problem/24499921
namespace JSC { namespace DFG {
// We are in the middle of a transition from LLVM to B3 as the backend for the FTL. This flag will go
-// away once that transition is finished. For now, we enable B3 only on some platforms.
-#if (CPU(X86_64) || CPU(ARM64)) && ENABLE(FTL_JIT)
+// away once that transition is finished. For now, we enable B3 by default but we still have some old
+// LLVM code that hasn't been removed yet.
#define FTL_USES_B3 1
-#else
-#define FTL_USES_B3 0
-#endif
struct Node;
, m_shouldBuildMapping(other.m_shouldBuildMapping)
{ }
-#if FTL_USES_B3
+#if ENABLE(FTL_JIT)
PCToCodeOriginMapBuilder::PCToCodeOriginMapBuilder(VM& vm, B3::PCToOriginMap&& b3PCToOriginMap)
: m_vm(vm)
, m_shouldBuildMapping(vm.shouldBuilderPCToCodeOriginMapping())
namespace JSC {
-#if FTL_USES_B3
+#if ENABLE(FTL_JIT)
namespace B3 {
class PCToOriginMap;
}
PCToCodeOriginMapBuilder(VM&);
PCToCodeOriginMapBuilder(PCToCodeOriginMapBuilder&& other);
-#if FTL_USES_B3
+#if ENABLE(FTL_JIT)
PCToCodeOriginMapBuilder(VM&, B3::PCToOriginMap&&);
#endif
+2016-02-16 Filip Pizlo <fpizlo@apple.com>
+
+ FTL_USES_B3 should be unconditionally true
+ https://bugs.webkit.org/show_bug.cgi?id=154324
+
+ Reviewed by Benjamin Poulain.
+
+ * wtf/Platform.h:
+
2016-02-13 Mark Lam <mark.lam@apple.com>
Eliminate the need for WTFCrashImpl().
#endif
/* This controls whether B3 is built. It will not be used unless FTL_USES_B3 is enabled. */
-#if (CPU(X86_64) || CPU(ARM64)) && ENABLE(FTL_JIT)
+#if ENABLE(FTL_JIT)
#define ENABLE_B3_JIT 1
#endif