Skip to content

Commit

Permalink
Updated debug data
Browse files Browse the repository at this point in the history
  • Loading branch information
egordorichev authored Oct 13, 2022
1 parent 1cdf077 commit 3356e44
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/funk.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ typedef enum {

#ifdef FUNK_TRACE_STACK
static const char* funkInstructionNames[] = {
"RETURN",
"CALL",
"GET",
"GET_STRING",
"POP",
"DEFINE",
"PUSH_NULL"
"FUNK_INSTRUCTION_RETURN",
"FUNK_INSTRUCTION_CALL",
"FUNK_INSTRUCTION_GET",
"FUNK_INSTRUCTION_GET_STRING",
"FUNK_INSTRUCTION_POP",
"FUNK_INSTRUCTION_DEFINE",
"FUNK_INSTRUCTION_DEFINE_GLOBAL",
"FUNK_INSTRUCTION_PUSH_NULL",
"FUNK_INSTRUCTION_PUSH_CONSTANT"
};
#endif

Expand Down Expand Up @@ -234,4 +236,4 @@ FunkFunction* funk_number_to_string(FunkVm* vm, double value);

void funk_collect_garbage(FunkVm* vm);

#endif
#endif

0 comments on commit 3356e44

Please sign in to comment.