X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=templates%2Fcomparison_instruction.c;h=d8139ceec0c568c42c005989f8d2a107aec1d121;hp=dabd90569f9a0e19c7d018fe8bd83da5063fb475;hb=7abf5e459b2ef02c8e59c05f0a83d8213ade0427;hpb=3dc627f8d6b5846081ef8ed15d5546e51d2ecb8d diff --git a/templates/comparison_instruction.c b/templates/comparison_instruction.c index dabd905..d8139ce 100644 --- a/templates/comparison_instruction.c +++ b/templates/comparison_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));