[K/N] Require small binaries for all watchos targets

This commit is contained in:
Pavel Kunyavskiy
2022-09-15 17:19:58 +02:00
committed by Space
parent 46afb46a6d
commit 7293dd6d65
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
#define RUNTIME_WEAK __attribute__((weak))
#define RUNTIME_NODEBUG __attribute__((nodebug))
#if KONAN_NEAD_SMALL_BINARY
#if KONAN_NEED_SMALL_BINARY
// On the one hand, ALWAYS_INLINE forces many performance-critical function to be, well,
// inlined. Which is good for performance, of course.
// On the other hand, 32-bit Mach-O object files can't be really big.
+1 -1
View File
@@ -26,7 +26,7 @@
#include "PointerBits.h"
#include "Utils.hpp"
#if KONAN_NEAD_SMALL_BINARY
#if KONAN_NEED_SMALL_BINARY
// Currently, codegen places a lot of unnecessary calls to MM functions.
// By forcing NO_INLINE on these functions we keep binaries from growing too big.
#define CODEGEN_INLINE_POLICY NO_INLINE