ref: ed75d396ec28b77eece0b243eea09143cfb4e2da
parent: 906fb08c99904b7530efa13b2529a60a2e9c034c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon May 9 13:18:43 EDT 2016
[cc2-qbe] Fix ORET The ORET expression was passed to code() like destine, instead like source.
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -366,7 +366,7 @@
deltree(ifno);
return NULL;
case ORET:
- code(ASRET, load(np, LOADL), NULL, NULL);
+ code(ASRET, NULL, load(np, LOADL), NULL);
return NULL;
case OCASE:
case ODEFAULT: