Changeset 3037 for src/RTL/RTL.ma


Ignore:
Timestamp:
Mar 29, 2013, 5:19:53 PM (7 years ago)
Author:
tranquil
Message:
  • ADDRESS joint instruction now has also an offset
  • corrected call to pointer (needed to clear the accumulator)
  • now we make sure globals contain also function names

LINToASM will be fixed in an upcoming commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/RTL/RTL.ma

    r2975 r3037  
    9393
    9494(* parameters for main need to be passed to the premain *)
    95 definition RTL_premain : ∀p : rtl_program.joint_closed_internal_function RTL (prog_var_names ?? p) ≝
     95definition RTL_premain : ∀p : rtl_program.
     96  joint_closed_internal_function RTL (prog_names … p) ≝
    9697λp.
    9798let l1 : label ≝ an_identifier … one in
     
    104105    an_identifier … (p0 (p0 one)) ] in
    105106let res ≝
    106   mk_joint_internal_function RTL (prog_var_names … p)
     107  mk_joint_internal_function RTL (prog_names … p)
    107108  (mk_universe … (p0 (p0 one)))
    108109  (mk_universe … (p1 (p0 one)))
Note: See TracChangeset for help on using the changeset viewer.