Changeset 1371 for src/LIN


Ignore:
Timestamp:
Oct 14, 2011, 1:42:42 PM (8 years ago)
Author:
sacerdot
Message:

save_frame changed to accept also the formal/actual argument pairs, required
in the RTL semantics. The function returns now a res, but this could be fixed
with a dependent type for function call to disallow calling a function with the
wrong arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/LIN/semantics.ma

    r1359 r1371  
    2727definition lin_init_locals : unit → hw_register_env → hw_register_env ≝ λ_.λe.e.
    2828definition lin_pop_frame: list beval → state … lin_sem_params → res (state … lin_sem_params) ≝ λ_.λst. OK … st.
    29 definition lin_save_frame: unit → state … lin_sem_params → state … lin_sem_params ≝ λ_.λst.st.
     29definition lin_save_frame: unit → nat → unit → state … lin_sem_params → res (state … lin_sem_params) ≝ λ_.λ_.λ_.λst.OK … st.
    3030
    3131definition lin_more_sem_params1 : more_sem_params1 … lin_params1 ≝
Note: See TracChangeset for help on using the changeset viewer.