Changeset 3472


Ignore:
Timestamp:
Mar 9, 2008, 6:59:59 PM (13 years ago)
Author:
yura
Message:
  • Add synthetic flag to generated methods.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_asail_jbc.java

    r3459 r3472  
    520520    refal.plus.Java.Null (_gs_auxcall27);
    521521    Result _gs_auxcall28 = new Result (Expr.empty);
    522     org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_gs_auxcall26.getExpr (), _c_15, _c_24, _c_25, _gs_auxcall27.getExpr (), Expr.empty, _gs_auxcall28);
     522    org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_gs_auxcall26.getExpr (), _c_11, _c_24, _c_25, _gs_auxcall27.getExpr (), Expr.empty, _gs_auxcall28);
    523523    refal.plus.Box.Store (MVbox, _gs_auxcall28.getExpr ());
    524524    Result _gs_auxcall29 = new Result (Expr.empty);
     
    540540    CW (_gs_auxcall34);
    541541    Result _gs_auxcall35 = new Result (Expr.empty);
    542     refal.plus.Java.Null (_gs_auxcall35);
     542    refal.plus.Arithm.Add (_c_10, _c_11, _gs_auxcall35);
    543543    Result _gs_auxcall36 = new Result (Expr.empty);
    544     org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_gs_auxcall34.getExpr (), _c_10, _c_28, _c_25, _gs_auxcall35.getExpr (), Expr.empty, _gs_auxcall36);
    545     refal.plus.Box.Store (MVbox, _gs_auxcall36.getExpr ());
     544    refal.plus.Java.Null (_gs_auxcall36);
     545    Result _gs_auxcall37 = new Result (Expr.empty);
     546    org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_gs_auxcall34.getExpr (), _gs_auxcall35.getExpr (), _c_28, _c_25, _gs_auxcall36.getExpr (), Expr.empty, _gs_auxcall37);
     547    refal.plus.Box.Store (MVbox, _gs_auxcall37.getExpr ());
    546548    _block5__branch1: {
    547549      Result _v_Get2 = new Result (Expr.empty);
     
    608610        Expr _ve_2 = Expr.empty;
    609611        _ve_2 = _v_ToChars1.getExpr ().subexpr ((0 + 1), _v_len__2);
    610         Result _ge_auxcall37 = new Result (Expr.empty);
    611         refal.plus.Convert.ToLower (_ve_2, _ge_auxcall37);
     612        Result _ge_auxcall38 = new Result (Expr.empty);
     613        refal.plus.Convert.ToLower (_ve_2, _ge_auxcall38);
    612614        Result _va_2 = new Result ();
    613         refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_c_29).toRight (_vs_1).toRight (_ge_auxcall37.getExpr ()).yield (), _va_2);
     615        refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_c_29).toRight (_vs_1).toRight (_ge_auxcall38.getExpr ()).yield (), _va_2);
    614616        _vs_objectType = _va_2.getExpr ();
    615         Result _gs_auxcall38 = new Result (Expr.empty);
    616         MV (_gs_auxcall38);
    617         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitTypeInsn (_gs_auxcall38.getExpr (), _c_20, _c_30);
    618617        Result _gs_auxcall39 = new Result (Expr.empty);
    619618        MV (_gs_auxcall39);
    620         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitInsn (_gs_auxcall39.getExpr (), _c_22);
     619        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitTypeInsn (_gs_auxcall39.getExpr (), _c_20, _c_30);
    621620        Result _gs_auxcall40 = new Result (Expr.empty);
    622621        MV (_gs_auxcall40);
    623         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitLdcInsn (_gs_auxcall40.getExpr (), _vs_name);
     622        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitInsn (_gs_auxcall40.getExpr (), _c_22);
    624623        Result _gs_auxcall41 = new Result (Expr.empty);
    625624        MV (_gs_auxcall41);
    626         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMethodInsn (_gs_auxcall41.getExpr (), _c_16, _c_31, _vs_objectType, _c_32);
     625        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitLdcInsn (_gs_auxcall41.getExpr (), _vs_name);
    627626        Result _gs_auxcall42 = new Result (Expr.empty);
    628627        MV (_gs_auxcall42);
    629         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMethodInsn (_gs_auxcall42.getExpr (), _c_23, _c_30, _c_24, _c_33);
     628        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMethodInsn (_gs_auxcall42.getExpr (), _c_16, _c_31, _vs_objectType, _c_32);
    630629        Result _gs_auxcall43 = new Result (Expr.empty);
    631630        MV (_gs_auxcall43);
    632         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitFieldInsn (_gs_auxcall43.getExpr (), _c_34, _vs_class__name.getExpr (), _vs_name, _c_35);
     631        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMethodInsn (_gs_auxcall43.getExpr (), _c_23, _c_30, _c_24, _c_33);
     632        Result _gs_auxcall44 = new Result (Expr.empty);
     633        MV (_gs_auxcall44);
     634        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitFieldInsn (_gs_auxcall44.getExpr (), _c_34, _vs_class__name.getExpr (), _vs_name, _c_35);
    633635      }
    634636    }
     
    679681        _ve_expr = _v_deref__lsplit__Get3.subexpr ((0 + 1), _v_len__expr);
    680682        Const_Expr_To_JBC (_ve_expr);
    681         Result _gs_auxcall44 = new Result (Expr.empty);
    682         MV (_gs_auxcall44);
    683         org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitFieldInsn (_gs_auxcall44.getExpr (), _c_34, _vs_class__name.getExpr (), _vs_name, _c_35);
    684       }
    685     }
    686     Result _gs_auxcall45 = new Result (Expr.empty);
    687     MV (_gs_auxcall45);
    688     org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitInsn (_gs_auxcall45.getExpr (), _c_27);
     683        Result _gs_auxcall45 = new Result (Expr.empty);
     684        MV (_gs_auxcall45);
     685        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitFieldInsn (_gs_auxcall45.getExpr (), _c_34, _vs_class__name.getExpr (), _vs_name, _c_35);
     686      }
     687    }
    689688    Result _gs_auxcall46 = new Result (Expr.empty);
    690689    MV (_gs_auxcall46);
    691     org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMaxs (_gs_auxcall46.getExpr (), _c_15, _c_15);
     690    org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitInsn (_gs_auxcall46.getExpr (), _c_27);
    692691    Result _gs_auxcall47 = new Result (Expr.empty);
    693692    MV (_gs_auxcall47);
    694     org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitEnd (_gs_auxcall47.getExpr ());
     693    org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMaxs (_gs_auxcall47.getExpr (), _c_15, _c_15);
    695694    Result _gs_auxcall48 = new Result (Expr.empty);
    696     CW (_gs_auxcall48);
    697     org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitEnd (_gs_auxcall48.getExpr ());
     695    MV (_gs_auxcall48);
     696    org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitEnd (_gs_auxcall48.getExpr ());
    698697    Result _gs_auxcall49 = new Result (Expr.empty);
    699698    CW (_gs_auxcall49);
     699    org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitEnd (_gs_auxcall49.getExpr ());
    700700    Result _gs_auxcall50 = new Result (Expr.empty);
    701     org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWtoByteArray (_gs_auxcall49.getExpr (), _gs_auxcall50);
     701    CW (_gs_auxcall50);
     702    Result _gs_auxcall51 = new Result (Expr.empty);
     703    org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWtoByteArray (_gs_auxcall50.getExpr (), _gs_auxcall51);
    702704    Result _vs_res = new Result (Expr.empty);
    703     refal.plus.Box.Box (new Expr ((Comparable<?>) Expr.concat (_gs_auxcall50.getExpr (), _ve_moduleName)), _vs_res);
     705    refal.plus.Box.Box (new Expr ((Comparable<?>) Expr.concat (_gs_auxcall51.getExpr (), _ve_moduleName)), _vs_res);
    704706    _block8__branch1: {
    705707      Result _v_Get4 = new Result (Expr.empty);
     
    762764        Result _vs_cw = new Result (Expr.empty);
    763765        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.ClassWriter (_c_5, _vs_cw);
    764         Result _gs_auxcall51 = new Result (Expr.empty);
    765         refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_vs_class__name.getExpr ()).toRight (_c_36).toRight (_vs_cl__name).yield (), _gs_auxcall51);
    766766        Result _gs_auxcall52 = new Result (Expr.empty);
    767         refal.plus.Java.Null (_gs_auxcall52);
    768         org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisit (_vs_cw.getExpr (), _c_7, _c_37, _gs_auxcall51.getExpr (), _gs_auxcall52.getExpr (), _c_38, Expr.empty);
     767        refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_vs_class__name.getExpr ()).toRight (_c_36).toRight (_vs_cl__name).yield (), _gs_auxcall52);
    769768        Result _gs_auxcall53 = new Result (Expr.empty);
    770769        refal.plus.Java.Null (_gs_auxcall53);
     770        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisit (_vs_cw.getExpr (), _c_7, _c_37, _gs_auxcall52.getExpr (), _gs_auxcall53.getExpr (), _c_38, Expr.empty);
     771        Result _gs_auxcall54 = new Result (Expr.empty);
     772        refal.plus.Java.Null (_gs_auxcall54);
    771773        Result _vs_mv = new Result (Expr.empty);
    772         org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_vs_cw.getExpr (), _c_15, _c_24, _c_25, _gs_auxcall53.getExpr (), Expr.empty, _vs_mv);
     774        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_vs_cw.getExpr (), _c_11, _c_24, _c_25, _gs_auxcall54.getExpr (), Expr.empty, _vs_mv);
    773775        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitVarInsn (_vs_mv.getExpr (), _c_14, _c_15);
    774776        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMethodInsn (_vs_mv.getExpr (), _c_23, _c_38, _c_24, _c_25);
     
    776778        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitMaxs (_vs_mv.getExpr (), _c_15, _c_15);
    777779        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitEnd (_vs_mv.getExpr ());
    778         Result _gs_auxcall54 = new Result (Expr.empty);
    779         refal.plus.Java.Null (_gs_auxcall54);
    780         org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_vs_cw.getExpr (), _c_5, _c_39, _c_40, _gs_auxcall54.getExpr (), _c_41, _vs_mv);
     780        Result _gs_auxcall55 = new Result (Expr.empty);
     781        refal.plus.Arithm.Add (_c_5, _c_11, _gs_auxcall55);
     782        Result _gs_auxcall56 = new Result (Expr.empty);
     783        refal.plus.Java.Null (_gs_auxcall56);
     784        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitMethod (_vs_cw.getExpr (), _gs_auxcall55.getExpr (), _c_39, _c_40, _gs_auxcall56.getExpr (), _c_41, _vs_mv);
    781785        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitVarInsn (_vs_mv.getExpr (), _c_14, _c_5);
    782786        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitVarInsn (_vs_mv.getExpr (), _c_14, _c_42);
     
    802806        org.refal.plus.wrappers.org.objectweb.asm.MethodVisitor.MVvisitEnd (_vs_mv.getExpr ());
    803807        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWvisitEnd (_vs_cw.getExpr ());
    804         Result _gs_auxcall55 = new Result (Expr.empty);
    805         org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWtoByteArray (_vs_cw.getExpr (), _gs_auxcall55);
    806         Result _ge_auxcall56 = new Result (Expr.empty);
    807         if (!refal.plus.Access.Middle (_c_15, _c_5, _ve_moduleName, _ge_auxcall56))
     808        Result _gs_auxcall57 = new Result (Expr.empty);
     809        org.refal.plus.wrappers.org.objectweb.asm.ClassWriter.CWtoByteArray (_vs_cw.getExpr (), _gs_auxcall57);
     810        Result _ge_auxcall58 = new Result (Expr.empty);
     811        if (!refal.plus.Access.Middle (_c_15, _c_5, _ve_moduleName, _ge_auxcall58))
    808812        {
    809813          continue _continue3;
    810814        }
    811         Result _gt_auxcall57 = new Result (Expr.empty);
    812         if (!refal.plus.Access.R (_c_15, _ve_moduleName, _gt_auxcall57))
     815        Result _gt_auxcall59 = new Result (Expr.empty);
     816        if (!refal.plus.Access.R (_c_15, _ve_moduleName, _gt_auxcall59))
    813817        {
    814818          continue _continue3;
    815819        }
    816         Result _gs_auxcall58 = new Result (Expr.empty);
    817         refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_gt_auxcall57.getExpr ()).toRight (_c_36).toRight (_vs_cl__name).yield (), _gs_auxcall58);
    818         refal.plus.Box.Put (_vs_res.getExpr (), new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_gs_auxcall55.getExpr ()).toRight (_ge_auxcall56.getExpr ()).toRight (_gs_auxcall58.getExpr ()).yield ()));
     820        Result _gs_auxcall60 = new Result (Expr.empty);
     821        refal.plus.Convert.ToWord (Expr.getConcatenator ().toRight (_gt_auxcall59.getExpr ()).toRight (_c_36).toRight (_vs_cl__name).yield (), _gs_auxcall60);
     822        refal.plus.Box.Put (_vs_res.getExpr (), new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_gs_auxcall57.getExpr ()).toRight (_ge_auxcall58.getExpr ()).toRight (_gs_auxcall60.getExpr ()).yield ()));
    819823      }
    820824    }
Note: See TracChangeset for help on using the changeset viewer.