From 33e236d0e75ef0f12f9ff9e4face8b20cbaf5494 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 21 May 2007 22:02:28 +0000 Subject: [PATCH] support no flag parameters --- Robust/src/IR/Flat/BuildCode.java | 51 ++++++++++++++++----------- Robust/src/IR/TaskDescriptor.java | 3 +- Robust/src/IR/Tree/BuildIR.java | 4 ++- Robust/src/IR/Tree/SemanticCheck.java | 3 +- Robust/src/Parse/java14.cup | 7 ++++ 5 files changed, 44 insertions(+), 24 deletions(-) diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index 7e249e16..ed2f50f2 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -405,28 +405,37 @@ public class BuildCode { FlagExpressionNode param_flag=task.getFlag(param_var); TagExpressionList param_tag=task.getTag(param_var); - DNFFlag dflag=param_flag.getDNF(); - - Hashtable flags=(Hashtable)flagorder.get(param_type.getClassDesc()); - output.println("int parameterdnf_"+i+"_"+task.getSafeSymbol()+"[]={"); - for(int j=0;j