Commits

Armin Rigo committed 7c2871e

Improve the speed of some non-jitted parts of the code, by disabling the assert() there when
compiled in non-debug mode.

  • Participants
  • Parent commits 2d41724

Comments (0)

Files changed (1)

File rpython/translator/tool/cbuild.py

    typedef unsigned long Unsigned;
 #  define SIGNED_MIN LONG_MIN
 #endif
+
+#if !defined(RPY_ASSERT) && !defined(RPY_LL_ASSERT)
+#  define NDEBUG
+#endif
 '''