On 10/12/2011 04:48 PM, Diego Novillo wrote:
This patch is needed in the pph branch because streamers need access
to the fields in struct language_function without going through
cp_function_chain.

Since these fields are named exactly like their #define counterparts,
we cannot reference them without the pre-processor expanding the
#defines, which causes build errors.

-#define current_function_returns_value cp_function_chain->returns_value
+#define current_function_returns_value cp_function_chain->x_returns_value

-#define current_function_returns_null cp_function_chain->returns_null
+#define current_function_returns_null cp_function_chain->x_returns_null

  #define current_function_returns_abnormally \
-  cp_function_chain->returns_abnormally
+  cp_function_chain->x_returns_abnormally

Doesn't seem necessary for these three.  OK for in_*.

Jason

Reply via email to