From 8a81f855d5a11e4af0abdcfa42c9ac996730f8a4 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Tue, 10 Jul 2018 10:35:07 +0800 Subject: improvements to free bytecodes, bytecode def cleanup --- src/bytecode.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/bytecode.c') 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(); -- cgit v1.2.1