PrintWriter outputMethHead,
PrintWriter outputMethods
) {
-
- /*
+
FlatMethod fm = fsen.getEnclosingFlatMeth();
MethodDescriptor md = fm.getMethod();
ClassDescriptor cn = md.getClassDesc();
- //Creates bogus method descriptor to index into tables
+ // Creates bogus method descriptor to index into tables
Modifiers bogusmod=new Modifiers();
MethodDescriptor bogusmd=new MethodDescriptor(bogusmod,
new TypeDescriptor(TypeDescriptor.VOID),
sese2bogusFlatMeth.put(fsen, bogusfm);
- //Build paramsobj for bogus method descriptor
+ // Build paramsobj for bogus method descriptor
ParamsObject objectparams=new ParamsObject(bogusmd, tag++);
paramstable.put(bogusmd, objectparams);
}
- //Build normal temp object for bogus method descriptor
+ // Build normal temp object for bogus method descriptor
TempObject objecttemps=new TempObject(objectparams,bogusmd,tag++);
tempstable.put(bogusmd, objecttemps);
// declare namespace struct
outputStructs.println(fsen.namespaceStructDeclarationString());
- //Generate code for parameters structure
+ // Generate code for parameters structure
generateMethodParam(cn, bogusmd, null, outputStructs);
- //Generate code for locals structure
+ // Generate code for locals structure
outputStructs.println("struct "+cn.getSafeSymbol()+bogusmd.getSafeSymbol()+"_"+bogusmd.getSafeMethodDescriptor()+"_locals {");
outputStructs.println(" INTPTR size;");
outputStructs.println(" void * next;");
generateFlatMethodSESE(bogusfm, cn, fsen, fsen.getFlatExit(), outputMethods);
- */
}
private void generateFlatMethodSESE(FlatMethod fm,