Skip to content

Commit dbadd37

Browse files
committed
Delete unused
1 parent e358ace commit dbadd37

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

vm/vm.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,6 @@ void vm_pop_frame(vm_thread_t **thread);
472472
* @param pc Program counter
473473
* @return a uint8 value from program
474474
*/
475-
//uint8_t vm_read_byte(vm_thread_t **thread, uint32_t *pc);
476475
#define vm_read_byte(thread, pc) (*thread)->state->program[(*pc)++]
477476

478477
/**
@@ -484,15 +483,6 @@ void vm_pop_frame(vm_thread_t **thread);
484483
* @return a int16 value from program
485484
*/
486485
int16_t vm_read_i16(vm_thread_t **thread, uint32_t *pc);
487-
/*
488-
#define vm_read_i16(thread, pc) \
489-
{ \
490-
vm_value_t val; \
491-
val.number.byte[0] = (*thread)->state->program[*pc]; \
492-
val.number.byte[1] = (*thread)->state->program[*pc + 1]; \
493-
*pc += 2; \
494-
}
495-
*/
496486

497487
/**
498488
* @fn uint16_t vm_read_u16(vm_thread_t **thread, uint32_t *pc)

0 commit comments

Comments
 (0)