Home | History | Annotate | Download | only in src

Lines Matching defs:CHECK

54 // The CHECK macro checks that the given condition is true; if not, it
56 #define CHECK(condition) do { \
58 V8_Fatal(__FILE__, __LINE__, "CHECK(%s) failed", #condition); \
113 // Helper function used by the CHECK function when given string
145 // Helper function used by the CHECK function when given pointer
175 // Helper function used by the CHECK function when given floating
227 #define CHECK_GT(a, b) CHECK((a) > (b))
228 #define CHECK_GE(a, b) CHECK((a) >= (b))
229 #define CHECK_LT(a, b) CHECK((a) < (b))
230 #define CHECK_LE(a, b) CHECK((a) <= (b))
257 // The ASSERT macro is equivalent to CHECK except that it only
260 #define ASSERT_RESULT(expr) CHECK(expr)
261 #define ASSERT(condition) CHECK(condition)
267 #define SLOW_ASSERT(condition) CHECK(!FLAG_enable_slow_asserts || (condition))