Ignore:
Timestamp:
Oct 15, 2011, 12:13:23 AM (9 years ago)
Author:
sacerdot
Message:

Potential bug fixed and bug found: the way pointers and labels are put in
bijection must be different between LIN and graph-like languages (bug fixed).
Moreover, in both cases it must be possible to retrieve the function from the
address and the easiest (only?) way to do that is to use the block of the
address to store the block of the function, and put the offsets in bijection
with labels/offsets, preventing pointer mangling since the pointer is in
the Code region (found, to be fixed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/joint/semantics.ma

    r1382 r1383  
    1515 ; regsT: Type[0]
    1616
     17 (*CSC: XXXX succ_pc and pointer_of_label deal with fetching; same for
     18   fetch_statement below.
     19   should we take 'em out in a different record to simplify the code? *)
    1720 ; succ_pc: succ p → address → res address
    1821 ; greg_store_: generic_reg p → beval → regsT → res regsT
Note: See TracChangeset for help on using the changeset viewer.