[vala/wip/effectfree: 3/38] codegen: Unset array_size_cvalue in load_variable



commit f4dc638473bf0e2fb07a5d3f6099133f14f73d03
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Jun 15 12:29:19 2011 +0200

    codegen: Unset array_size_cvalue in load_variable

 codegen/valaccodememberaccessmodule.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valaccodememberaccessmodule.vala b/codegen/valaccodememberaccessmodule.vala
index 4387a32..443992f 100644
--- a/codegen/valaccodememberaccessmodule.vala
+++ b/codegen/valaccodememberaccessmodule.vala
@@ -689,6 +689,7 @@ public abstract class Vala.CCodeMemberAccessModule : CCodeControlFlowModule {
 					result.array_length_cvalues[dim - 1] = new CCodeCastExpression (result.array_length_cvalues[dim - 1], "gint");
 				}
 			}
+			result.array_size_cvalue = null;
 		} else if (delegate_type != null) {
 			if (!delegate_type.delegate_symbol.has_target || variable.no_delegate_target) {
 				result.delegate_target_cvalue = new CCodeConstant ("NULL");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]