summaryrefslogtreecommitdiff
path: root/src/instructions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instructions.h')
-rw-r--r--src/instructions.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/instructions.h b/src/instructions.h
index 6b6757489..6f1a146cf 100644
--- a/src/instructions.h
+++ b/src/instructions.h
@@ -57,9 +57,13 @@ enum scm_opcode {
struct scm_instruction {
enum scm_opcode opcode; /* opcode */
- char *name; /* instruction name */
- char len; /* instruction length */
- char npop; /* the number of values popped */
+ const char *name; /* instruction name */
+ signed char len; /* Instruction length. This may be -1 for
+ the loader (see the `VM_LOADER'
+ macro). */
+ signed char npop; /* The number of values popped. This may be
+ -1 for insns like `call' which can take
+ any number of arguments. */
char npush; /* the number of values pushed */
};