File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
486485int16_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)
You can’t perform that action at this time.
0 commit comments