summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-10 10:35:07 +0800
committerAdrian Thurston <thurston@colm.net>2018-07-10 10:35:07 +0800
commit8a81f855d5a11e4af0abdcfa42c9ac996730f8a4 (patch)
tree00d9b441c53984c6441e589a1a5a528eae2a4298 /src/bytecode.c
parentbe90eb6ea7bc94d49ce1b7e9ad5f170c1fc0a1b2 (diff)
downloadcolm-8a81f855d5a11e4af0abdcfa42c9ac996730f8a4.tar.gz
improvements to free bytecodes, bytecode def cleanup
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 4d2d07ba..5a1df5bf 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -3674,8 +3674,8 @@ again:
read_half( constValId );
switch ( constValId ) {
- case IN_CONST_STDIN: {
- debug( prg, REALM_BYTECODE, "IN_CONST_STDIN\n" );
+ case CONST_STDIN: {
+ debug( prg, REALM_BYTECODE, "CONST_STDIN\n" );
/* Pop the root object. */
vm_pop_tree();
@@ -3685,8 +3685,8 @@ again:
vm_push_stream( prg->stdin_val );
break;
}
- case IN_CONST_STDOUT: {
- debug( prg, REALM_BYTECODE, "IN_CONST_STDOUT\n" );
+ case CONST_STDOUT: {
+ debug( prg, REALM_BYTECODE, "CONST_STDOUT\n" );
/* Pop the root object. */
vm_pop_tree();
@@ -3695,8 +3695,8 @@ again:
vm_push_stream( prg->stdout_val );
break;
}
- case IN_CONST_STDERR: {
- debug( prg, REALM_BYTECODE, "IN_CONST_STDERR\n" );
+ case CONST_STDERR: {
+ debug( prg, REALM_BYTECODE, "CONST_STDERR\n" );
/* Pop the root object. */
vm_pop_tree();
@@ -3706,11 +3706,11 @@ again:
vm_push_stream( prg->stderr_val );
break;
}
- case IN_CONST_ARG: {
+ case CONST_ARG: {
word_t offset;
read_word( offset );
- debug( prg, REALM_BYTECODE, "IN_CONST_ARG %d\n", offset );
+ debug( prg, REALM_BYTECODE, "CONST_ARG %d\n", offset );
/* Pop the root object. */
vm_pop_tree();