Skip to content

Commit 3008f2d

Browse files
committed
Disable the DFG JIT when compiling for iPhone
1 parent 2f37155 commit 3008f2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WTF/wtf/Platform.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,3 +1105,11 @@
11051105
#endif
11061106

11071107
#endif /* WTF_Platform_h */
1108+
1109+
1110+
// Disable the DFG JIT on the iPhone; it can't be used anyway.
1111+
// This saves us about ~600kb
1112+
#if defined(TARGET_OS_IPHONE) && defined(ENABLE_LLINT)
1113+
#undef ENABLE_DFG_JIT
1114+
#define ENABLE_DFG_JIT 0
1115+
#endif

0 commit comments

Comments
 (0)