@@ -115,8 +115,6 @@ ecma_init_gc_info (ecma_object_t *object_p) /**< object */
115115 JERRY_CONTEXT (ecma_gc_objects_number )++ ;
116116 JERRY_CONTEXT (ecma_gc_new_objects )++ ;
117117
118- JERRY_ASSERT (JERRY_CONTEXT (ecma_gc_new_objects ) <= JERRY_CONTEXT (ecma_gc_objects_number ));
119-
120118 JERRY_ASSERT (object_p -> type_flags_refs < ECMA_OBJECT_REF_ONE );
121119 object_p -> type_flags_refs = (uint16_t ) (object_p -> type_flags_refs | ECMA_OBJECT_REF_ONE );
122120
@@ -398,23 +396,6 @@ ecma_gc_mark_set_object (ecma_object_t *object_p) /**< object */
398396#endif /* ENABLED (JERRY_ES2015_BUILTIN_SET) */
399397
400398#if ENABLED (JERRY_ES2015 )
401-
402- /**
403- * Mark tagged template literals of the compiled code.
404- */
405- static void
406- ecma_gc_mark_tagged_template_literals (const ecma_compiled_code_t * byte_code_p )
407- {
408- JERRY_ASSERT (byte_code_p -> status_flags & CBC_CODE_FLAG_HAS_TAGGED_LITERALS );
409-
410- ecma_collection_t * collection_p = ecma_compiled_code_get_tagged_template_collection (byte_code_p );
411-
412- for (uint32_t i = 0 ; i < collection_p -> item_count ; i ++ )
413- {
414- ecma_gc_set_object_visited (ecma_get_object_from_value (collection_p -> buffer_p [i ]));
415- }
416- } /* ecma_gc_mark_tagged_template_literals */
417-
418399/**
419400 * Mark objects referenced by inactive generator functions, async functions, etc.
420401 */
@@ -702,11 +683,6 @@ ecma_gc_mark (ecma_object_t *object_p) /**< object to mark from */
702683#if ENABLED (JERRY_ES2015 )
703684 const ecma_compiled_code_t * byte_code_p = ecma_op_function_get_compiled_code (ext_func_p );
704685
705- if (byte_code_p -> status_flags & CBC_CODE_FLAG_HAS_TAGGED_LITERALS )
706- {
707- ecma_gc_mark_tagged_template_literals (byte_code_p );
708- }
709-
710686 if (byte_code_p -> status_flags & CBC_CODE_FLAGS_ARROW_FUNCTION )
711687 {
712688 ecma_arrow_function_t * arrow_func_p = (ecma_arrow_function_t * ) object_p ;
0 commit comments