Changeset 3473


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

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/compiler/rfp_asail_jbc.rf

    r3458 r3473  
    120120  },
    121121  {
    122     <Store &MVbox <CWvisitMethod <CW> 0 "<init>" "()V" <Null> ()>>,
     122    <Store &MVbox <CWvisitMethod <CW> &ACC_SYNTHETIC "<init>" "()V" <Null> ()>>,
    123123      <MVvisitVarInsn <MV> &ALOAD 0>,
    124124      <MVvisitMethodInsn <MV> &INVOKESPECIAL "java/lang/Object" "<init>" "()V">,
     
    127127      <MVvisitEnd <MV>>;
    128128  },
    129   <Store &MVbox <CWvisitMethod <CW> &ACC_STATIC "<clinit>" "()V" <Null> ()>>,
     129  <Store &MVbox <CWvisitMethod <CW> <Add &ACC_STATIC &ACC_SYNTHETIC> "<clinit>" "()V" <Null> ()>>,
    130130  {
    131131    <Get &Objects> : e (s.tag s.name) e,
     
    159159      <ClassWriter &COMPUTE_MAXS> :: s.cw,
    160160      <CWvisit s.cw &V1_5 &ACC_FINAL <ToWord s.class_name '$' s.cl_name> <Null> "org/refal/plus/Func" ()>,
    161       <CWvisitMethod s.cw 0 "<init>" "()V" <Null> ()> :: s.mv,
     161      <CWvisitMethod s.cw &ACC_SYNTHETIC "<init>" "()V" <Null> ()> :: s.mv,
    162162      <MVvisitVarInsn s.mv &ALOAD 0>,
    163163      <MVvisitMethodInsn s.mv &INVOKESPECIAL "org/refal/plus/Func" "<init>" "()V">,
     
    165165      <MVvisitMaxs s.mv 0 0>,
    166166      <MVvisitEnd s.mv>,
    167       <CWvisitMethod s.cw &ACC_PUBLIC "eval" "(Lorg/refal/plus/Expr;Lorg/refal/plus/Result;)Z" <Null> ("org/refal/plus/RefalException")> :: s.mv,
     167      <CWvisitMethod s.cw <Add &ACC_PUBLIC &ACC_SYNTHETIC> "eval" "(Lorg/refal/plus/Expr;Lorg/refal/plus/Result;)Z" <Null> ("org/refal/plus/RefalException")> :: s.mv,
    168168      <MVvisitVarInsn s.mv &ALOAD 1>,
    169169      <MVvisitVarInsn s.mv &ALOAD 2>,
Note: See TracChangeset for help on using the changeset viewer.