Changeset 2361


Ignore:
Timestamp:
Feb 9, 2007, 11:39:48 PM (14 years ago)
Author:
yura
Message:
Location:
to-imperative/trunk
Files:
4 edited

Legend:

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

    r2360 r2361  
    654654Const-Term-To-JBC {
    655655  (CHARS e.chars) =
    656     <MVvisitLdcInsn <MV> <StringToObject <To-Word e.chars>>>,
     656    <MVvisitLdcInsn <MV> <WordToString <To-Word e.chars>>>,
    657657    <MVvisitMethodInsn <MV> &INVOKESTATIC "org/refal/plus/Expr" "fromSequence" "(Ljava/lang/CharSequence;)Lorg/refal/plus/Expr;">;
    658658  (PAREN e.expr) =
     
    686686          <MVvisitTypeInsn <MV> &NEW "java/math/BigInteger">,
    687687          <MVvisitInsn <MV> &DUP>,
    688           <MVvisitLdcInsn <MV> <StringToObject <To-Word s.sym>>>,
     688          <MVvisitLdcInsn <MV> <WordToString <To-Word s.sym>>>,
    689689          <MVvisitMethodInsn <MV> &INVOKESPECIAL "java/math/BigInteger" "<init>" "(Ljava/lang/String;)V">,
    690690          <MVvisitMethodInsn <MV> &INVOKESPECIAL "org/refal/plus/Expr" "<init>" "(Ljava/lang/Object;)V">;
     
    696696      <MVvisitTypeInsn <MV> &NEW "org/refal/plus/Word">,
    697697      <MVvisitInsn <MV> &DUP>,
    698       <MVvisitLdcInsn <MV> <StringToObject <To-Word <Symbol-To-JBC s.sym>>>>,
     698      <MVvisitLdcInsn <MV> <WordToString <To-Word <Symbol-To-JBC s.sym>>>>,
    699699      <MVvisitMethodInsn <MV> &INVOKESPECIAL "org/refal/plus/Word" "<init>" "(Ljava/lang/String;)V">,
    700700      <MVvisitMethodInsn <MV> &INVOKESPECIAL "org/refal/plus/Expr" "<init>" "(Ljava/lang/Object;)V">;
  • to-imperative/trunk/java/org/refal/plus/library/Java.java

    r2357 r2361  
    3333    }
    3434
    35     public static void StringToObject (Expr expr, Result res)
     35    public static void WordToString (Expr expr, Result res)
    3636    {
    3737        Word word = (Word)expr.at(0);
  • to-imperative/trunk/lib/Java.rf

    r2357 r2361  
    22
    33Null = 0;
    4 StringToObject s.str = s.str;
     4WordToString s.str = s.str;
  • to-imperative/trunk/lib/Java.rfi

    r2357 r2361  
    22
    33$func Null = s;
    4 $func StringToObject s = s;
     4$func WordToString s = s;
Note: See TracChangeset for help on using the changeset viewer.