2020static bytecode_data_header_t *first_bytecode_header_p = NULL ;
2121
2222bytecode_data_header_t *
23- jsp_bc_get_first_bytecode_data_header ()
23+ bc_get_first_bytecode_data_header ()
2424{
2525 return first_bytecode_header_p;
26- } /* jsp_bc_get_first_bytecode_header */
26+ } /* bc_get_first_bytecode_header */
2727
2828void
29- jsp_bc_add_bytecode_data (bytecode_data_header_t *bc_header_p,
29+ bc_add_bytecode_data (bytecode_data_header_t *bc_header_p,
3030 lit_id_hash_table *lit_id_hash_table_p,
3131 vm_instr_t *bytecode_p,
3232 vm_instr_counter_t instrs_count)
@@ -37,13 +37,13 @@ jsp_bc_add_bytecode_data (bytecode_data_header_t *bc_header_p,
3737 MEM_CP_SET_POINTER (bc_header_p->next_header_cp , first_bytecode_header_p);
3838
3939 first_bytecode_header_p = bc_header_p;
40- } /* jsp_bc_add_bytecode */
40+ } /* bc_add_bytecode */
4141
4242/* *
4343 * Deletes bytecode and associated hash table
4444 */
4545void
46- jsp_bc_remove_bytecode_data (const bytecode_data_header_t *bytecode_data_p)
46+ bc_remove_bytecode_data (const bytecode_data_header_t *bytecode_data_p)
4747{
4848 bytecode_data_header_t *prev_header = NULL ;
4949 bytecode_data_header_t *cur_header_p = first_bytecode_header_p;
@@ -67,7 +67,7 @@ jsp_bc_remove_bytecode_data (const bytecode_data_header_t *bytecode_data_p)
6767 prev_header = cur_header_p;
6868 cur_header_p = MEM_CP_GET_POINTER (bytecode_data_header_t , cur_header_p->next_header_cp );
6969 }
70- } /* jsp_bc_remove_bytecode_data */
70+ } /* bc_remove_bytecode_data */
7171
7272vm_instr_t bc_get_instr (const bytecode_data_header_t *bytecode_data_p,
7373 vm_instr_counter_t oc)
@@ -129,7 +129,7 @@ bc_merge_scopes_into_bytecode (scopes_tree scope_p,
129129
130130 bytecode_data_header_t *header_p = (bytecode_data_header_t *) buffer_p;
131131
132- jsp_bc_add_bytecode_data (header_p, lit_id_hash, bytecode_p, instrs_count);
132+ bc_add_bytecode_data (header_p, lit_id_hash, bytecode_p, instrs_count);
133133
134134 if (is_show_instrs)
135135 {
@@ -141,7 +141,7 @@ bc_merge_scopes_into_bytecode (scopes_tree scope_p,
141141} /* bc_merge_scopes_into_bytecode */
142142
143143void
144- jsp_bc_finalize ()
144+ bc_finalize ()
145145{
146146 while (first_bytecode_header_p != NULL )
147147 {
@@ -150,7 +150,7 @@ jsp_bc_finalize ()
150150
151151 mem_heap_free_block (header_p);
152152 }
153- } /* jsp_bc_finalize */
153+ } /* bc_finalize */
154154
155155/* *
156156 * Convert literal id (operand value of instruction) to compressed pointer to literal
@@ -310,10 +310,10 @@ bc_load_bytecode_with_idx_map (const uint8_t *bytecode_and_idx_map_p, /**< buffe
310310 hash_table_size)
311311 && (vm_instr_counter_t ) instructions_number == instructions_number)
312312 {
313- jsp_bc_add_bytecode_data (header_p,
314- (lit_id_hash_table *) lit_id_hash_table_buffer_p,
315- instrs_p,
316- (vm_instr_counter_t ) instructions_number);
313+ bc_add_bytecode_data (header_p,
314+ (lit_id_hash_table *) lit_id_hash_table_buffer_p,
315+ instrs_p,
316+ (vm_instr_counter_t ) instructions_number);
317317
318318 return header_p;
319319 }
0 commit comments