X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=templates%2Farithmetic_instruction.c;h=037679a9d384188a1cfb554942674e8e65bb1952;hp=5b68efd05149d4da8590ed4635f981aba88fe25d;hb=7abf5e459b2ef02c8e59c05f0a83d8213ade0427;hpb=3dc627f8d6b5846081ef8ed15d5546e51d2ecb8d diff --git a/templates/arithmetic_instruction.c b/templates/arithmetic_instruction.c index 5b68efd..037679a 100644 --- a/templates/arithmetic_instruction.c +++ b/templates/arithmetic_instruction.c @@ -1,4 +1,4 @@ -void {{ name }}(struct Thread* thread, const union Argument argument) { +void inst_{{ name }}(struct Thread* thread, const union Argument argument) { // We're going to reuse result as both the first input and the result assert(!Stack_isEmpty(&(thread->stack))); Object result = Stack_pop(&(thread->stack));