ref: b36ba5a483bd38626adcce0c3c217a0d9ead6ddf
parent: 925689f19610ac8edb18a3a556896a4409a82677
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Apr 22 18:03:17 EDT 2016
[cc2-qbe] Add OPTR operation In this case we only have to load twice the child of the node.
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -290,7 +290,10 @@
case OPAR:
case ONEG:
case OADDR:
+ abort();
case OPTR:
+ np->left = load(load(l));
+ return tmpnode(np);
case OINC:
case ODEC:
abort();
--
⑨