File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ project (JerryCore CXX C ASM)
173
173
if ("${BUILD_MODE} " STREQUAL "UNITTESTS" )
174
174
target_compile_definitions (${TARGET_NAME} .jerry-core INTERFACE ${DEFINES_JERRY} )
175
175
target_include_directories (${TARGET_NAME} .jerry-core INTERFACE ${INCLUDE_CORE} )
176
+ target_compile_definitions (${TARGET_NAME} .jerry-core PRIVATE JERRY_HEAVY_DEBUG )
176
177
endif ()
177
178
endfunction ()
178
179
Original file line number Diff line number Diff line change 289
289
rcs_chunked_list_t ::assert_list_is_correct (void )
290
290
const
291
291
{
292
- #ifndef JERRY_NDEBUG
292
+ #ifdef JERRY_HEAVY_DEBUG
293
293
for (node_t *node_iter_p = get_first ();
294
294
node_iter_p != NULL ;
295
295
node_iter_p = get_next (node_iter_p))
318
318
rcs_chunked_list_t ::assert_node_is_correct (const rcs_chunked_list_t ::node_t * node_p) /* *< the node */
319
319
const
320
320
{
321
- #ifndef JERRY_NDEBUG
321
+ #ifdef JERRY_HEAVY_DEBUG
322
322
JERRY_ASSERT (node_p != NULL );
323
323
324
324
assert_list_is_correct ();
Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ rcs_recordset_t::get_record_size (rcs_record_t* rec_p) /**< record */
613
613
void
614
614
rcs_recordset_t ::assert_state_is_correct (void )
615
615
{
616
- #ifndef JERRY_NDEBUG
616
+ #ifdef JERRY_HEAVY_DEBUG
617
617
size_t node_size_sum = 0 ;
618
618
size_t record_size_sum = 0 ;
619
619
You can’t perform that action at this time.
0 commit comments