ref: 769ca1ed6d4bb1d3fa631a0a4f770b441161b924
parent: dfa7978c258ec6e3bc7e495e1c2c880638587423
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Aug 17 10:23:41 EDT 2016
[cc2-qbe] Add support for OPTR Take the content of a pointer.
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
@@ -504,6 +504,8 @@
return ternary(np, ret);
case OCOMMA:
return rhs(np, ret);
+ case OPTR:
+ return load(rhs(l, &aux1), ret);
default:
abort();
}