/* ** ** The C code is generated by ATS/Anairiats ** The compilation time is: 2011-9-10: 22h:12m ** */ /* include some .h files */ #ifndef _ATS_HEADER_NONE #include "ats_config.h" #include "ats_basics.h" #include "ats_types.h" #include "ats_exception.h" #include "ats_memory.h" #endif /* _ATS_HEADER_NONE */ /* include some .cats files */ #ifndef _ATS_PRELUDE_NONE #include "prelude/CATS/basics.cats" #include "prelude/CATS/bool.cats" #include "prelude/CATS/byte.cats" #include "prelude/CATS/char.cats" #include "prelude/CATS/float.cats" #include "prelude/CATS/integer.cats" #include "prelude/CATS/integer_fixed.cats" #include "prelude/CATS/integer_ptr.cats" #include "prelude/CATS/lazy.cats" #include "prelude/CATS/lazy_vt.cats" #include "prelude/CATS/pointer.cats" #include "prelude/CATS/printf.cats" #include "prelude/CATS/reference.cats" #include "prelude/CATS/sizetype.cats" #include "prelude/CATS/string.cats" #include "prelude/CATS/array.cats" #include "prelude/CATS/list.cats" #include "prelude/CATS/matrix.cats" #include "prelude/CATS/option.cats" #endif /* _ATS_PRELUDE_NONE */ /* prologues from statically loaded files */ /* external codes at top */ /* type definitions */ typedef struct { ats_ptr_type atslab_0 ; ats_ptr_type atslab_1 ; } anairiats_sum_0 ; typedef struct { int tag ; ats_int_type atslab_0 ; } anairiats_sum_1 ; typedef struct { int tag ; ats_int64_type atslab_0 ; } anairiats_sum_2 ; typedef struct { int tag ; ats_ptr_type atslab_0 ; } anairiats_sum_3 ; typedef struct { int tag ; ats_ptr_type atslab_0 ; ats_ptr_type atslab_1 ; ats_ptr_type atslab_2 ; } anairiats_sum_4 ; typedef struct { ats_bool_type atslab_0 ; ats_ptr_type atslab_1 ; } anairiats_sum_5 ; typedef struct { ats_ptr_type atslab_frame_name ; ats_int_type atslab_frame_argofs ; ats_ptr_type atslab_frame_arglst ; ats_int_type atslab_frame_nlocvar ; } anairiats_rec_6 ; typedef struct { ats_int64_type atslab_0 ; ats_ptr_type atslab_1 ; } anairiats_sum_7 ; typedef struct { int tag ; ats_ptr_type atslab_0 ; ats_ptr_type atslab_1 ; ats_ptr_type atslab_2 ; ats_ptr_type atslab_3 ; } anairiats_sum_8 ; typedef struct { ats_size_type atslab_0 ; ats_size_type atslab_1 ; ats_ptr_type atslab_2 ; ats_clo_ref_type atslab_3 ; ats_clo_ref_type atslab_4 ; } anairiats_sum_9 ; typedef struct { ats_int64_type atslab_0 ; ats_ptr_type atslab_1 ; ats_ptr_type atslab_2 ; } anairiats_sum_10 ; typedef struct { ats_ptr_type atslab_0 ; } anairiats_sum_11 ; /* external typedefs */ typedef anairiats_rec_6 *frame_t ; /* external dynamic constructor declarations */ ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__list_cons) ; ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__list_nil) ; ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__None) ; ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__list_vt_cons) ; ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__None_vt) ; ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e6_2prelude_2basics_sta_2esats__Some_vt) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2assem_2esats__INSTRoper) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__PLUS) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__EXPconst) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__EXPtemp) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__EXPbinop) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__EXPmem) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InFrame) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InReg) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__CHAINcons) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__CHAINnil) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_vt_some) ; ATSextern_val(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_vt_none) ; /* external dynamic constant declarations */ ATSextern_fun(ats_double_type, atspre_double_of_size) (ats_size_type) ; ATSextern_fun(ats_double_type, atspre_div_double_double) (ats_double_type, ats_double_type) ; ATSextern_fun(ats_bool_type, atspre_lte_double_double) (ats_double_type, ats_double_type) ; ATSextern_fun(ats_bool_type, atspre_gte_double_double) (ats_double_type, ats_double_type) ; ATSextern_fun(ats_int_type, atspre_neg_int) (ats_int_type) ; ATSextern_fun(ats_int_type, atspre_add_int_int) (ats_int_type, ats_int_type) ; ATSextern_fun(ats_int_type, atspre_sub_int_int) (ats_int_type, ats_int_type) ; ATSextern_fun(ats_bool_type, atspre_gt_int_int) (ats_int_type, ats_int_type) ; ATSextern_fun(ats_void_type, atspre_fprint_int) (ats_ptr_type, ats_int_type) ; ATSextern_fun(ats_int_type, atspre_idiv) (ats_int_type, ats_int_type) ; ATSextern_fun(ats_ptr_type, atspre_padd_size) (ats_ptr_type, ats_size_type) ; ATSextern_fun(ats_void_type, atspre_fprintf_exn) (ats_ptr_type, ats_ptr_type, ...) ; ATSextern_fun(ats_ptr_type, atspre_tostringf) (ats_ptr_type, ...) ; ATSextern_fun(ats_ptr_type, atspre_ref_make_elt_tsz) (ats_ref_type, ats_size_type) ; ATSextern_fun(ats_size_type, atspre_size1_of_int1) (ats_int_type) ; ATSextern_fun(ats_size_type, atspre_add_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_size_type, atspre_add_size1_size1) (ats_size_type, ats_size_type) ; ATSextern_fun(ats_size_type, atspre_sub_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_size_type, atspre_mul2_size1_size1) (ats_size_type, ats_size_type) ; ATSextern_fun(ats_size_type, atspre_div_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_size_type, atspre_mod1_size1_size1) (ats_size_type, ats_size_type) ; ATSextern_fun(ats_bool_type, atspre_gt_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_bool_type, atspre_gte_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_bool_type, atspre_eq_size1_int1) (ats_size_type, ats_int_type) ; ATSextern_fun(ats_void_type, atspre_fprint_string) (ats_ptr_type, ats_ptr_type) ; ATSextern_fun(ats_void_type, atspre_prerr_string) (ats_ptr_type) ; ATSextern_fun(ats_varet_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2error_2esats__abort) (ats_int_type) ; ATSextern_fun(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_new) () ; ATSextern_fun(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed) (ats_int_type) ; ATSextern_fun(ats_bool_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__eq_temp_temp) (ats_int64_type, ats_int64_type) ; ATSextern_fun(ats_ulint_type, tigerats_hash_temp) (ats_int64_type) ; ATSextern_fun(ats_void_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__fprint_temp) (ats_ptr_type, ats_int64_type) ; ATSextern_fun(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__label_name_get) (ats_ptr_type) ; ATSextern_val(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__tiger_main) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP) ; ATSextern_val(ats_int_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE) ; ATSextern_fun(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_make_new) (ats_ptr_type, ats_int_type, ats_ptr_type) ; ATSextern_fun(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_name_get) (ats_ptr_type) ; ATSextern_fun(ats_int_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_size_get) (ats_ptr_type) ; ATSextern_val(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCalleesavedReglst) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EAX) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBX) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ECX) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDX) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESI) ; ATSextern_val(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDI) ; ATSextern_fun(ats_void_type, tigerats_frame_nlocvar_set) (ats_ptr_type, ats_int_type) ; ATSextern_fun(ats_size_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_size) (ats_ptr_type) ; ATSextern_fun(ats_ptr_type, hashtbl_ptr_make) (ats_size_type) ; ATSextern_fun(ats_void_type, hashtbl_ptr_free) (ats_ptr_type) ; /* external dynamic terminating constant declarations */ #ifdef _ATS_PROOFCHECK extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_v_split_prfck () ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_v_unsplit_prfck () ; #endif /* _ATS_PROOFCHECK */ /* sum constructor declarations */ ATSglobal(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InFrame) ; ATSglobal(ats_sum_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InReg) ; /* exn constructor declarations */ /* global dynamic (non-functional) constant declarations */ ATSglobal(ats_int_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theTopFrame) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theFunargReglst) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__RV) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theSpecialReglst) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EAX) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESP) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBP) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ECX) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDX) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCallersavedReglst) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBX) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESI) ; ATSglobal(ats_int64_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDI) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCalleesavedReglst) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theGeneralReglst) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_FP) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_SP) ; ATSglobal(ats_ptr_type, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_RV) ; /* internal function declarations */ static ats_ptr_type ref_01023_ats_ptr_type (ats_ptr_type arg0) ; static ats_ptr_type ref_make_elt_01024_ats_ptr_type (ats_ptr_type arg0) ; static ats_void_type fprint_access_5 (ats_ptr_type arg0, ats_ptr_type arg1) ; static ats_void_type prerr_access_6 (ats_ptr_type arg0) ; static ats_ptr_type aux_11 (ats_ptr_type arg0, ats_int_type arg1) ; static ats_ulint_type __ats_fun_19 (ats_int64_type arg0) ; static ats_clo_ptr_type __ats_fun_19_closure_make () ; static ats_ulint_type __ats_fun_19_clofun (ats_clo_ptr_type cloptr, ats_int64_type arg0) ; static ats_bool_type __ats_fun_20 (ats_int64_type arg0, ats_int64_type arg1) ; static ats_clo_ptr_type __ats_fun_20_closure_make () ; static ats_bool_type __ats_fun_20_clofun (ats_clo_ptr_type cloptr, ats_int64_type arg0, ats_int64_type arg1) ; static ats_ptr_type hashtbl_make_hint_01772_ats_int64_type_2cats_ptr_type (ats_clo_ref_type arg0, ats_clo_ref_type arg1, ats_size_type arg2) ; static ats_ulint_type hash_key_01768_ats_int64_type (ats_int64_type arg0, ats_clo_ref_type arg1) ; static ats_ptr_type hashtbl_split_0140_ (ats_ptr_type arg0, ats_size_type arg1) ; static ats_void_type chain_insert_0118_ats_int64_type_2cats_ptr_type (ats_ref_type arg0, ats_int64_type arg1, ats_ptr_type arg2) ; static ats_void_type hashtbl_ptr_insert_off_0161_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_ptr_type arg2, ats_size_type arg3) ; static ats_void_type hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type (ats_size_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_clo_ref_type arg3) ; static ats_void_type hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type (ats_size_type arg0, ats_size_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_clo_ref_type arg4) ; static ats_void_type hashtbl_resize_0251_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) ; static ats_void_type hashtbl_resize_double_0268_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0) ; static ats_ptr_type hashtbl_insert_err_01774_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_ptr_type arg2) ; static ats_void_type regname_insert_22 (ats_int64_type arg0, ats_ptr_type arg1) ; static ats_bool_type equal_key_key_01767_ats_int64_type (ats_int64_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2) ; static ats_ptr_type chain_search_0109_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2) ; static ats_ptr_type hashtbl_ptr_search_off_0148_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2, ats_size_type arg3) ; static ats_ptr_type hashtbl_search_01773_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1) ; /* partial value template declarations */ /* static temporary variable declarations */ ATSstatic (ats_ptr_type, statmp0) ; ATSstatic (ats_ptr_type, statmp4) ; ATSstatic (ats_int_type, statmp27) ; ATSstatic (ats_ptr_type, statmp28) ; ATSstatic (ats_ptr_type, statmp29) ; ATSstatic (ats_ptr_type, statmp69) ; ATSstatic (ats_int64_type, statmp70) ; ATSstatic (ats_int64_type, statmp71) ; ATSstatic (ats_int64_type, statmp72) ; ATSstatic (ats_ptr_type, statmp73) ; ATSstatic (ats_ptr_type, statmp74) ; ATSstatic (ats_ptr_type, statmp75) ; ATSstatic (ats_int64_type, statmp76) ; ATSstatic (ats_int64_type, statmp77) ; ATSstatic (ats_ptr_type, statmp78) ; ATSstatic (ats_ptr_type, statmp79) ; ATSstatic (ats_ptr_type, statmp80) ; ATSstatic (ats_int64_type, statmp81) ; ATSstatic (ats_int64_type, statmp82) ; ATSstatic (ats_int64_type, statmp83) ; ATSstatic (ats_ptr_type, statmp84) ; ATSstatic (ats_ptr_type, statmp85) ; ATSstatic (ats_ptr_type, statmp86) ; ATSstatic (ats_ptr_type, statmp87) ; ATSstatic (ats_ptr_type, statmp88) ; ATSstatic (ats_ptr_type, statmp89) ; ATSstatic (ats_ptr_type, statmp91) ; ATSstatic (ats_ptr_type, statmp93) ; ATSstatic (ats_ptr_type, statmp94) ; // ATSstatic_void (statmp166) ; // ATSstatic_void (statmp167) ; // ATSstatic_void (statmp168) ; // ATSstatic_void (statmp169) ; // ATSstatic_void (statmp170) ; // ATSstatic_void (statmp171) ; // ATSstatic_void (statmp172) ; // ATSstatic_void (statmp173) ; ATSstatic (ats_ptr_type, statmp220) ; ATSstatic (ats_ptr_type, statmp221) ; ATSstatic (ats_ptr_type, statmp222) ; /* external value variable declarations */ /* function implementations */ /* // /home/fac2/hwxi/research/ATS/IMPLEMENT/Geizella/Anairiats/svn/ats-lang/prelude/DATS/reference.dats: 1834(line=59, offs=18) -- 1908(line=61, offs=4) */ ATSstaticdec() ats_ptr_type ref_01023_ats_ptr_type (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_ptr_type, tmp2) ; ATSlocal (ats_ptr_type, tmp3) ; __ats_lab_ref_01023_ats_ptr_type: #line 60 "reference.dats" /* ats_ptr_type tmp3 ; */ #line 60 "reference.dats" tmp3 = arg0 ; #line 60 "reference.dats" tmp2 = atspre_ref_make_elt_tsz ((&tmp3), sizeof(ats_ptr_type)) ; return (tmp2) ; } /* end of [ref_01023_ats_ptr_type] */ /* // /home/fac2/hwxi/research/ATS/IMPLEMENT/Geizella/Anairiats/svn/ats-lang/prelude/DATS/reference.dats: 2000(line=64, offs=27) -- 2015(line=64, offs=42) */ ATSstaticdec() ats_ptr_type ref_make_elt_01024_ats_ptr_type (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_ptr_type, tmp1) ; __ats_lab_ref_make_elt_01024_ats_ptr_type: #line 64 "reference.dats" tmp1 = ref_01023_ats_ptr_type (arg0) ; return (tmp1) ; } /* end of [ref_make_elt_01024_ats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 510(line=34, offs=32) -- 526(line=34, offs=48) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_get () { /* local vardec */ ATSlocal (ats_ptr_type, tmp5) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_get: #line 34 "frame.dats" tmp5 = ats_ptrget_mac(ats_ptr_type, statmp0) ; return (tmp5) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 559(line=36, offs=32) -- 614(line=37, offs=47) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_add (ats_ptr_type arg0) { /* local vardec */ // ATSlocal_void (tmp6) ; ATSlocal (ats_ptr_type, tmp7) ; ATSlocal (ats_ptr_type, tmp8) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_add: #line 37 "frame.dats" tmp8 = ats_ptrget_mac(ats_ptr_type, statmp0) ; #line 37 "frame.dats" tmp7 = ATS_MALLOC(sizeof(anairiats_sum_0)) ; ats_selptrset_mac(anairiats_sum_0, tmp7, atslab_0, arg0) ; ats_selptrset_mac(anairiats_sum_0, tmp7, atslab_1, tmp8) ; #line 37 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp0) = tmp7 ; return /* (tmp6) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_add] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 682(line=40, offs=34) -- 713(line=40, offs=65) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_reset () { /* local vardec */ // ATSlocal_void (tmp9) ; ATSlocal (ats_ptr_type, tmp10) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_reset: #line 40 "frame.dats" tmp10 = (ats_sum_ptr_type)0 ; #line 40 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp0) = tmp10 ; return /* (tmp9) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_theFraglst_reset] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 1408(line=84, offs=4) -- 1735(line=91, offs=8) */ ATSstaticdec() ats_void_type fprint_access_5 (ats_ptr_type arg0, ats_ptr_type arg1) { /* local vardec */ // ATSlocal_void (tmp11) ; ATSlocal (ats_int_type, tmp12) ; // ATSlocal_void (tmp13) ; // ATSlocal_void (tmp14) ; ATSlocal (ats_int64_type, tmp15) ; // ATSlocal_void (tmp16) ; // ATSlocal_void (tmp17) ; __ats_lab_fprint_access_5: #line 85 "frame.dats" do { /* branch: __ats_lab_0 */ #line 86 "frame.dats" __ats_lab_0_0: #line 86 "frame.dats" if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_1_0 ; } #line 86 "frame.dats" __ats_lab_0_1: #line 86 "frame.dats" tmp12 = ats_caselptr_mac(anairiats_sum_1, arg1, atslab_0) ; #line 87 "frame.dats" /* tmp13 = */ atspre_fprint_string (arg0, ATSstrcst("InFrame(")) ; #line 87 "frame.dats" /* tmp14 = */ atspre_fprint_int (arg0, tmp12) ; #line 87 "frame.dats" /* tmp11 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ; break ; /* branch: __ats_lab_1 */ #line 89 "frame.dats" __ats_lab_1_0: #line 89 "frame.dats" // if (((ats_sum_ptr_type)arg1)->tag != 1) { ats_deadcode_failure_handle () ; } #line 89 "frame.dats" __ats_lab_1_1: #line 89 "frame.dats" tmp15 = ats_caselptr_mac(anairiats_sum_2, arg1, atslab_0) ; #line 90 "frame.dats" /* tmp16 = */ atspre_fprint_string (arg0, ATSstrcst("InReg(")) ; #line 90 "frame.dats" /* tmp17 = */ _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__fprint_temp (arg0, tmp15) ; #line 90 "frame.dats" /* tmp11 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ; break ; } while (0) ; return /* (tmp11) */ ; } /* end of [fprint_access_5] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 1784(line=94, offs=4) -- 1852(line=94, offs=72) */ ATSstaticdec() ats_void_type prerr_access_6 (ats_ptr_type arg0) { /* local vardec */ // ATSlocal_void (tmp18) ; __ats_lab_prerr_access_6: #line 94 "frame.dats" /* tmp18 = */ fprint_access_5 (stderr, arg0) ; return /* (tmp18) */ ; } /* end of [prerr_access_6] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 1901(line=98, offs=27) -- 1950(line=98, offs=76) */ ATSglobaldec() ats_bool_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inreg (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_bool_type, tmp19) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inreg: #line 98 "frame.dats" do { /* branch: __ats_lab_2 */ #line 98 "frame.dats" __ats_lab_2_0: #line 98 "frame.dats" if (((ats_sum_ptr_type)arg0)->tag != 1) { goto __ats_lab_3_0 ; } #line 98 "frame.dats" __ats_lab_2_1: #line 98 "frame.dats" tmp19 = ats_true_bool ; break ; /* branch: __ats_lab_3 */ #line 98 "frame.dats" __ats_lab_3_0: #line 98 "frame.dats" __ats_lab_3_1: #line 98 "frame.dats" tmp19 = ats_false_bool ; break ; } while (0) ; return (tmp19) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inreg] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 1979(line=99, offs=29) -- 2030(line=99, offs=80) */ ATSglobaldec() ats_bool_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inframe (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_bool_type, tmp20) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inframe: #line 99 "frame.dats" do { /* branch: __ats_lab_4 */ #line 99 "frame.dats" __ats_lab_4_0: #line 99 "frame.dats" if (((ats_sum_ptr_type)arg0)->tag != 0) { goto __ats_lab_5_0 ; } #line 99 "frame.dats" __ats_lab_4_1: #line 99 "frame.dats" tmp20 = ats_true_bool ; break ; /* branch: __ats_lab_5 */ #line 99 "frame.dats" __ats_lab_5_0: #line 99 "frame.dats" __ats_lab_5_1: #line 99 "frame.dats" tmp20 = ats_false_bool ; break ; } while (0) ; return (tmp20) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__access_is_inframe] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 2058(line=101, offs=27) -- 2237(line=105, offs=33) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_make_access (ats_ptr_type arg0, ats_ptr_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp21) ; ATSlocal (ats_int_type, tmp22) ; ATSlocal (ats_ptr_type, tmp23) ; ATSlocal (ats_ptr_type, tmp24) ; ATSlocal (ats_ptr_type, tmp25) ; ATSlocal (ats_int64_type, tmp26) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_make_access: #line 101 "frame.dats" do { /* branch: __ats_lab_6 */ #line 102 "frame.dats" __ats_lab_6_0: #line 102 "frame.dats" if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_7_0 ; } #line 102 "frame.dats" __ats_lab_6_1: #line 102 "frame.dats" tmp22 = ats_caselptr_mac(anairiats_sum_1, arg1, atslab_0) ; #line 103 "frame.dats" tmp24 = (ats_sum_ptr_type)(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__PLUS) ; #line 103 "frame.dats" tmp25 = ATS_MALLOC(sizeof(anairiats_sum_1)) ; ((ats_sum_ptr_type)tmp25)->tag = 0 ; ats_selptrset_mac(anairiats_sum_1, tmp25, atslab_0, tmp22) ; #line 103 "frame.dats" tmp23 = ATS_MALLOC(sizeof(anairiats_sum_4)) ; ((ats_sum_ptr_type)tmp23)->tag = 3 ; ats_selptrset_mac(anairiats_sum_4, tmp23, atslab_0, tmp24) ; ats_selptrset_mac(anairiats_sum_4, tmp23, atslab_1, arg0) ; ats_selptrset_mac(anairiats_sum_4, tmp23, atslab_2, tmp25) ; #line 103 "frame.dats" tmp21 = ATS_MALLOC(sizeof(anairiats_sum_3)) ; ((ats_sum_ptr_type)tmp21)->tag = 4 ; ats_selptrset_mac(anairiats_sum_3, tmp21, atslab_0, tmp23) ; break ; /* branch: __ats_lab_7 */ #line 105 "frame.dats" __ats_lab_7_0: #line 105 "frame.dats" // if (((ats_sum_ptr_type)arg1)->tag != 1) { ats_deadcode_failure_handle () ; } #line 105 "frame.dats" __ats_lab_7_1: #line 105 "frame.dats" tmp26 = ats_caselptr_mac(anairiats_sum_2, arg1, atslab_0) ; #line 105 "frame.dats" tmp21 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)tmp21)->tag = 2 ; ats_selptrset_mac(anairiats_sum_2, tmp21, atslab_0, tmp26) ; break ; } while (0) ; return (tmp21) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_make_access] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 2725(line=135, offs=7) -- 3459(line=154, offs=33) */ ATSstaticdec() ats_ptr_type aux_11 (ats_ptr_type arg0, ats_int_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp31) ; ATSlocal (ats_bool_type, tmp32) ; ATSlocal (ats_ptr_type, tmp33) ; ATSlocal (ats_ptr_type, tmp34) ; ATSlocal (ats_int64_type, tmp35) ; ATSlocal (ats_ptr_type, tmp36) ; ATSlocal (ats_int_type, tmp37) ; __ats_lab_aux_11: #line 136 "frame.dats" do { /* branch: __ats_lab_8 */ #line 137 "frame.dats" __ats_lab_8_0: #line 137 "frame.dats" if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_9_0 ; } #line 137 "frame.dats" __ats_lab_8_1: #line 137 "frame.dats" tmp32 = ats_caselptr_mac(anairiats_sum_5, arg0, atslab_0) ; #line 137 "frame.dats" tmp33 = ats_caselptr_mac(anairiats_sum_5, arg0, atslab_1) ; #line 139 "frame.dats" if (tmp32) { #line 139 "frame.dats" tmp34 = ATS_MALLOC(sizeof(anairiats_sum_1)) ; ((ats_sum_ptr_type)tmp34)->tag = 0 ; ats_selptrset_mac(anairiats_sum_1, tmp34, atslab_0, arg1) ; } else { #line 140 "frame.dats" tmp35 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_new () ; #line 140 "frame.dats" tmp34 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)tmp34)->tag = 1 ; ats_selptrset_mac(anairiats_sum_2, tmp34, atslab_0, tmp35) ; } /* end of [if] */ #line 150 "frame.dats" tmp37 = atspre_add_int_int (arg1, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE) ; #line 150 "frame.dats" tmp36 = aux_11 (tmp33, tmp37) ; #line 152 "frame.dats" tmp31 = ATS_MALLOC(sizeof(anairiats_sum_0)) ; ats_selptrset_mac(anairiats_sum_0, tmp31, atslab_0, tmp34) ; ats_selptrset_mac(anairiats_sum_0, tmp31, atslab_1, tmp36) ; break ; /* branch: __ats_lab_9 */ #line 154 "frame.dats" __ats_lab_9_0: #line 154 "frame.dats" // if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 154 "frame.dats" __ats_lab_9_1: #line 154 "frame.dats" tmp31 = (ats_sum_ptr_type)0 ; break ; } while (0) ; return (tmp31) ; } /* end of [aux_11] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 2603(line=129, offs=26) -- 3512(line=157, offs=2) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_make_new (ats_ptr_type arg0, ats_int_type arg1, ats_ptr_type arg2) { /* local vardec */ ATSlocal (ats_ptr_type, tmp30) ; ATSlocal (ats_ptr_type, tmp38) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_make_new: #line 156 "frame.dats" tmp38 = aux_11 (arg2, arg1) ; #line 129 "frame.dats" tmp30 = ATS_MALLOC(sizeof(anairiats_rec_6)) ; ats_selptrset_mac(anairiats_rec_6, tmp30, atslab_frame_name, arg0) ; ats_selptrset_mac(anairiats_rec_6, tmp30, atslab_frame_argofs, arg1) ; ats_selptrset_mac(anairiats_rec_6, tmp30, atslab_frame_arglst, tmp38) ; ats_selptrset_mac(anairiats_rec_6, tmp30, atslab_frame_nlocvar, 0) ; return (tmp30) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_make_new] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 3566(line=159, offs=26) -- 3584(line=159, offs=44) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_name_get (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_ptr_type, tmp39) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_name_get: #line 159 "frame.dats" tmp39 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_6, arg0), atslab_frame_name) ; return (tmp39) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_name_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 3612(line=160, offs=28) -- 3632(line=160, offs=48) */ ATSglobaldec() ats_int_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_argofs_get (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_int_type, tmp40) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_argofs_get: #line 160 "frame.dats" tmp40 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_6, arg0), atslab_frame_argofs) ; return (tmp40) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_argofs_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 3660(line=161, offs=28) -- 3680(line=161, offs=48) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_arglst_get (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_ptr_type, tmp41) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_arglst_get: #line 161 "frame.dats" tmp41 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_6, arg0), atslab_frame_arglst) ; return (tmp41) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_arglst_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 3795(line=166, offs=26) -- 3817(line=166, offs=48) */ ATSglobaldec() ats_int_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_size_get (ats_ptr_type arg0) { /* local vardec */ ATSlocal (ats_int_type, tmp42) ; ATSlocal (ats_int_type, tmp43) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_size_get: #line 166 "frame.dats" tmp43 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_6, arg0), atslab_frame_nlocvar) ; #line 166 "frame.dats" tmp42 = atspre_neg_int (tmp43) ; return (tmp42) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_size_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 3849(line=169, offs=3) -- 4186(line=179, offs=8) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_alloc_local (ats_ptr_type arg0, ats_bool_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp44) ; ATSlocal (ats_int_type, tmp45) ; ATSlocal (ats_int_type, tmp46) ; // ATSlocal_void (tmp47) ; ATSlocal (ats_int64_type, tmp48) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_alloc_local: #line 169 "frame.dats" do { /* branch: __ats_lab_10 */ #line 170 "frame.dats" __ats_lab_10_0: #line 170 "frame.dats" __ats_lab_10_1: #line 170 "frame.dats" if (!arg1) { goto __ats_lab_11_1 ; } #line 171 "frame.dats" tmp45 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_6, arg0), atslab_frame_nlocvar) ; #line 172 "frame.dats" tmp46 = atspre_sub_int_int (tmp45, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE) ; #line 173 "frame.dats" /* tmp47 = */ tigerats_frame_nlocvar_set (arg0, tmp46) ; #line 175 "frame.dats" tmp44 = ATS_MALLOC(sizeof(anairiats_sum_1)) ; ((ats_sum_ptr_type)tmp44)->tag = 0 ; ats_selptrset_mac(anairiats_sum_1, tmp44, atslab_0, tmp46) ; break ; /* branch: __ats_lab_11 */ #line 177 "frame.dats" __ats_lab_11_0: #line 177 "frame.dats" __ats_lab_11_1: #line 178 "frame.dats" tmp48 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_new () ; #line 178 "frame.dats" tmp44 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)tmp44)->tag = 1 ; ats_selptrset_mac(anairiats_sum_2, tmp44, atslab_0, tmp48) ; break ; } while (0) ; return (tmp44) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_alloc_local] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 4347(line=189, offs=21) -- 4888(line=203, offs=8) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_read (ats_ptr_type arg0, ats_int64_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp49) ; ATSlocal (ats_int_type, tmp50) ; ATSlocal (ats_ptr_type, tmp51) ; ATSlocal (ats_ptr_type, tmp52) ; ATSlocal (ats_ptr_type, tmp53) ; ATSlocal (ats_ptr_type, tmp54) ; ATSlocal (ats_ptr_type, tmp55) ; ATSlocal (ats_ptr_type, tmp56) ; ATSlocal (ats_ptr_type, tmp57) ; ATSlocal (ats_ptr_type, tmp58) ; // ATSlocal_void (tmp59) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_read: #line 189 "frame.dats" do { /* branch: __ats_lab_12 */ #line 190 "frame.dats" __ats_lab_12_0: #line 190 "frame.dats" if (((ats_sum_ptr_type)arg0)->tag != 0) { goto __ats_lab_13_0 ; } #line 190 "frame.dats" __ats_lab_12_1: #line 190 "frame.dats" tmp50 = ats_caselptr_mac(anairiats_sum_1, arg0, atslab_0) ; #line 196 "frame.dats" tmp51 = atspre_tostringf (ATSstrcst("movl %i(`s0), `d0"), tmp50) ; #line 198 "frame.dats" tmp52 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp52, atslab_0, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP) ; #line 198 "frame.dats" tmp53 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp52), atslab_1) ; #line 198 "frame.dats" tmp54 = (ats_sum_ptr_type)0 ; #line 198 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp53) = tmp54 ; #line 198 "frame.dats" tmp55 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp55, atslab_0, arg1) ; #line 198 "frame.dats" tmp56 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp55), atslab_1) ; #line 198 "frame.dats" tmp57 = (ats_sum_ptr_type)0 ; #line 198 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp56) = tmp57 ; #line 198 "frame.dats" tmp58 = (ats_sum_ptr_type)0 ; #line 191 "frame.dats" tmp49 = ATS_MALLOC(sizeof(anairiats_sum_8)) ; ((ats_sum_ptr_type)tmp49)->tag = 0 ; ats_selptrset_mac(anairiats_sum_8, tmp49, atslab_0, ats_castfn_mac(ats_ptr_type, tmp51)) ; ats_selptrset_mac(anairiats_sum_8, tmp49, atslab_1, tmp52) ; ats_selptrset_mac(anairiats_sum_8, tmp49, atslab_2, tmp55) ; ats_selptrset_mac(anairiats_sum_8, tmp49, atslab_3, tmp58) ; break ; /* branch: __ats_lab_13 */ #line 200 "frame.dats" __ats_lab_13_0: #line 200 "frame.dats" // if (((ats_sum_ptr_type)arg0)->tag != 1) { ats_deadcode_failure_handle () ; } #line 200 "frame.dats" __ats_lab_13_1: #line 201 "frame.dats" /* tmp59 = */ atspre_prerr_string (ATSstrcst("INTERNAL ERROR: instr_make_mem_read: acc = InReg (...)")) ; #line 202 "frame.dats" /* tmp49 = */ _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2error_2esats__abort (1) ; break ; } while (0) ; return (tmp49) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_read] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 4971(line=207, offs=22) -- 5515(line=221, offs=8) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_write (ats_ptr_type arg0, ats_int64_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp60) ; ATSlocal (ats_int_type, tmp61) ; ATSlocal (ats_ptr_type, tmp62) ; ATSlocal (ats_ptr_type, tmp63) ; ATSlocal (ats_ptr_type, tmp64) ; ATSlocal (ats_ptr_type, tmp65) ; ATSlocal (ats_ptr_type, tmp66) ; ATSlocal (ats_ptr_type, tmp67) ; // ATSlocal_void (tmp68) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_write: #line 207 "frame.dats" do { /* branch: __ats_lab_14 */ #line 208 "frame.dats" __ats_lab_14_0: #line 208 "frame.dats" if (((ats_sum_ptr_type)arg0)->tag != 0) { goto __ats_lab_15_0 ; } #line 208 "frame.dats" __ats_lab_14_1: #line 208 "frame.dats" tmp61 = ats_caselptr_mac(anairiats_sum_1, arg0, atslab_0) ; #line 214 "frame.dats" tmp62 = atspre_tostringf (ATSstrcst("movl `s1, %i(`s0)"), tmp61) ; #line 216 "frame.dats" tmp63 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp63, atslab_0, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP) ; #line 216 "frame.dats" tmp64 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp63), atslab_1) ; #line 216 "frame.dats" tmp65 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp65, atslab_0, arg1) ; #line 216 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp64) = tmp65 ; #line 216 "frame.dats" tmp64 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp65), atslab_1) ; #line 216 "frame.dats" tmp65 = (ats_sum_ptr_type)0 ; #line 216 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp64) = tmp65 ; #line 216 "frame.dats" tmp66 = (ats_sum_ptr_type)0 ; #line 216 "frame.dats" tmp67 = (ats_sum_ptr_type)0 ; #line 209 "frame.dats" tmp60 = ATS_MALLOC(sizeof(anairiats_sum_8)) ; ((ats_sum_ptr_type)tmp60)->tag = 0 ; ats_selptrset_mac(anairiats_sum_8, tmp60, atslab_0, ats_castfn_mac(ats_ptr_type, tmp62)) ; ats_selptrset_mac(anairiats_sum_8, tmp60, atslab_1, tmp63) ; ats_selptrset_mac(anairiats_sum_8, tmp60, atslab_2, tmp66) ; ats_selptrset_mac(anairiats_sum_8, tmp60, atslab_3, tmp67) ; break ; /* branch: __ats_lab_15 */ #line 218 "frame.dats" __ats_lab_15_0: #line 218 "frame.dats" // if (((ats_sum_ptr_type)arg0)->tag != 1) { ats_deadcode_failure_handle () ; } #line 218 "frame.dats" __ats_lab_15_1: #line 219 "frame.dats" /* tmp68 = */ atspre_prerr_string (ATSstrcst("INTERNAL ERROR: instr_make_mem_write: acc = InReg (...)")) ; #line 220 "frame.dats" /* tmp60 = */ _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2error_2esats__abort (1) ; break ; } while (0) ; return (tmp60) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__instr_make_mem_write] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 10188(line=438, offs=18) -- 10239(line=438, offs=69) */ ATSstaticdec() ats_ulint_type __ats_fun_19 (ats_int64_type arg0) { /* local vardec */ ATSlocal (ats_ulint_type, tmp90) ; __ats_lab___ats_fun_19: #line 438 "frame.dats" tmp90 = tigerats_hash_temp (arg0) ; return (tmp90) ; } /* end of [__ats_fun_19] */ typedef struct { ats_fun_ptr_type closure_fun ; } __ats_fun_19_closure_type ; ats_ulint_type __ats_fun_19_clofun (ats_clo_ptr_type cloptr, ats_int64_type arg0) { return __ats_fun_19 (arg0) ; } /* end of function */ ATSinline() ats_void_type __ats_fun_19_closure_init (__ats_fun_19_closure_type *p_clo) { p_clo->closure_fun = (ats_fun_ptr_type)&__ats_fun_19_clofun ; return ; } /* end of function */ ats_clo_ptr_type __ats_fun_19_closure_make () { __ats_fun_19_closure_type *p_clo = ATS_MALLOC(sizeof(__ats_fun_19_closure_type)) ; __ats_fun_19_closure_init (p_clo) ; return (ats_clo_ptr_type)p_clo ; } /* end of function */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 10256(line=440, offs=16) -- 10330(line=441, offs=71) */ ATSstaticdec() ats_bool_type __ats_fun_20 (ats_int64_type arg0, ats_int64_type arg1) { /* local vardec */ ATSlocal (ats_bool_type, tmp92) ; __ats_lab___ats_fun_20: #line 441 "frame.dats" tmp92 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__eq_temp_temp (arg0, arg1) ; return (tmp92) ; } /* end of [__ats_fun_20] */ typedef struct { ats_fun_ptr_type closure_fun ; } __ats_fun_20_closure_type ; ats_bool_type __ats_fun_20_clofun (ats_clo_ptr_type cloptr, ats_int64_type arg0, ats_int64_type arg1) { return __ats_fun_20 (arg0, arg1) ; } /* end of function */ ATSinline() ats_void_type __ats_fun_20_closure_init (__ats_fun_20_closure_type *p_clo) { p_clo->closure_fun = (ats_fun_ptr_type)&__ats_fun_20_clofun ; return ; } /* end of function */ ats_clo_ptr_type __ats_fun_20_closure_make () { __ats_fun_20_closure_type *p_clo = ATS_MALLOC(sizeof(__ats_fun_20_closure_type)) ; __ats_fun_20_closure_init (p_clo) ; return (ats_clo_ptr_type)p_clo ; } /* end of function */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 17632(line=552, offs=38) -- 17934(line=561, offs=4) */ ATSstaticdec() ats_ptr_type hashtbl_make_hint_01772_ats_int64_type_2cats_ptr_type (ats_clo_ref_type arg0, ats_clo_ref_type arg1, ats_size_type arg2) { /* local vardec */ ATSlocal (ats_ptr_type, tmp95) ; ATSlocal (ats_size_type, tmp96) ; ATSlocal (ats_bool_type, tmp97) ; ATSlocal (ats_ptr_type, tmp98) ; ATSlocal (ats_ptr_type, tmp99) ; ATSlocal (ats_ptr_type, tmp100) ; __ats_lab_hashtbl_make_hint_01772_ats_int64_type_2cats_ptr_type: #line 555 "hashtable.dats" tmp97 = atspre_gt_size1_int1 (ats_castfn_mac(ats_size_type, arg2), 0) ; #line 555 "hashtable.dats" if (tmp97) { #line 555 "hashtable.dats" tmp96 = ats_castfn_mac(ats_size_type, arg2) ; } else { #line 555 "hashtable.dats" tmp96 = atspre_size1_of_int1 (97) ; } /* end of [if] */ #line 557 "hashtable.dats" tmp98 = hashtbl_ptr_make (tmp96) ; #line 557 "hashtable.dats" tmp99 = ats_selsin_mac(tmp98, atslab_2) ; #line 558 "hashtable.dats" tmp100 = ATS_MALLOC(sizeof(anairiats_sum_9)) ; ats_selptrset_mac(anairiats_sum_9, tmp100, atslab_0, tmp96) ; ats_selptrset_mac(anairiats_sum_9, tmp100, atslab_1, 0) ; ats_selptrset_mac(anairiats_sum_9, tmp100, atslab_2, tmp99) ; ats_selptrset_mac(anairiats_sum_9, tmp100, atslab_3, arg0) ; ats_selptrset_mac(anairiats_sum_9, tmp100, atslab_4, arg1) ; #line 560 "hashtable.dats" tmp95 = ref_make_elt_01024_ats_ptr_type (tmp100) ; return (tmp95) ; } /* end of [hashtbl_make_hint_01772_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 766(line=38, offs=25) -- 785(line=38, offs=44) */ ATSstaticdec() ats_ulint_type hash_key_01768_ats_int64_type (ats_int64_type arg0, ats_clo_ref_type arg1) { /* local vardec */ ATSlocal (ats_ulint_type, tmp118) ; __ats_lab_hash_key_01768_ats_int64_type: #line 38 "hashtable.dats" tmp118 = ((ats_ulint_type(*)(ats_clo_ptr_type, ats_int64_type))(ats_closure_fun(arg1))) (arg1, arg0) ; return (tmp118) ; } /* end of [hash_key_01768_ats_int64_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 5902(line=194, offs=51) -- 6361(line=206, offs=4) */ ATSstaticdec() ats_ptr_type hashtbl_split_0140_ (ats_ptr_type arg0, ats_size_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp123) ; ATSlocal (ats_size_type, tmp124) ; ATSlocal (ats_size_type, tmp125) ; __ats_lab_hashtbl_split_0140_: #line 202 "hashtable.dats" tmp124 = atspre_mul2_size1_size1 (arg1, sizeof(ats_ptr_type)) ; #line 202 "hashtable.dats" tmp125 = ats_selsin_mac(tmp124, atslab_1) ; #line 205 "hashtable.dats" tmp123 = atspre_padd_size (arg0, tmp125) ; return (tmp123) ; } /* end of [hashtbl_split_0140_] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 3357(line=124, offs=3) -- 3462(line=125, offs=31) */ ATSstaticdec() ats_void_type chain_insert_0118_ats_int64_type_2cats_ptr_type (ats_ref_type arg0, ats_int64_type arg1, ats_ptr_type arg2) { /* local vardec */ // ATSlocal_void (tmp127) ; ATSlocal (ats_ptr_type, tmp128) ; __ats_lab_chain_insert_0118_ats_int64_type_2cats_ptr_type: #line 125 "hashtable.dats" tmp128 = ATS_MALLOC(sizeof(anairiats_sum_10)) ; ats_selptrset_mac(anairiats_sum_10, tmp128, atslab_0, arg1) ; ats_selptrset_mac(anairiats_sum_10, tmp128, atslab_1, arg2) ; ats_selptrset_mac(anairiats_sum_10, tmp128, atslab_2, ats_ptrget_mac(ats_ptr_type, arg0)) ; #line 125 "hashtable.dats" ats_ptrget_mac(ats_ptr_type, arg0) = tmp128 ; return /* (tmp127) */ ; } /* end of [chain_insert_0118_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 7075(line=228, offs=50) -- 7534(line=241, offs=4) */ ATSstaticdec() ats_void_type hashtbl_ptr_insert_off_0161_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_ptr_type arg2, ats_size_type arg3) { /* local vardec */ // ATSlocal_void (tmp121) ; ATSlocal (ats_ptr_type, tmp122) ; ATSlocal (ats_ptr_type, tmp126) ; __ats_lab_hashtbl_ptr_insert_off_0161_ats_int64_type_2cats_ptr_type: #line 234 "hashtable.dats" tmp122 = hashtbl_split_0140_ (arg0, arg3) ; #line 233 "hashtable.dats" tmp126 = ats_selsin_mac(tmp122, atslab_2) ; #line 236 "hashtable.dats" /* tmp121 = */ chain_insert_0118_ats_int64_type_2cats_ptr_type (tmp126, arg1, arg2) ; return /* (tmp121) */ ; } /* end of [hashtbl_ptr_insert_off_0161_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 8498(line=272, offs=47) -- 9351(line=296, offs=4) */ ATSstaticdec() ats_void_type hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type (ats_size_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_clo_ref_type arg3) { /* local vardec */ // ATSlocal_void (tmp151) ; ATSlocal (ats_int64_type, tmp152) ; ATSlocal (ats_ptr_type, tmp153) ; ATSlocal (ats_ptr_type, tmp154) ; // ATSlocal_void (tmp155) ; ATSlocal (ats_ulint_type, tmp156) ; ATSlocal (ats_size_type, tmp157) ; ATSlocal (ats_ptr_type, tmp158) ; ATSlocal (ats_ptr_type, tmp159) ; __ats_lab_hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type: #line 279 "hashtable.dats" do { /* branch: __ats_lab_19 */ #line 280 "hashtable.dats" __ats_lab_19_0: #line 280 "hashtable.dats" if (arg2 == (ats_sum_ptr_type)0) { goto __ats_lab_20_0 ; } #line 280 "hashtable.dats" __ats_lab_19_1: #line 280 "hashtable.dats" tmp152 = ats_caselptr_mac(anairiats_sum_10, arg2, atslab_0) ; #line 280 "hashtable.dats" tmp153 = ats_caselptr_mac(anairiats_sum_10, arg2, atslab_1) ; #line 280 "hashtable.dats" tmp154 = ats_caselptr_mac(anairiats_sum_10, arg2, atslab_2) ; #line 280 "hashtable.dats" ATS_FREE(arg2) ; #line 282 "hashtable.dats" /* tmp155 = */ hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type (arg0, arg1, tmp154, arg3) ; #line 283 "hashtable.dats" tmp156 = hash_key_01768_ats_int64_type (tmp152, arg3) ; #line 285 "hashtable.dats" tmp157 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp156), arg0) ; #line 287 "hashtable.dats" tmp158 = hashtbl_split_0140_ (arg1, tmp157) ; #line 286 "hashtable.dats" tmp159 = ats_selsin_mac(tmp158, atslab_2) ; #line 289 "hashtable.dats" /* tmp151 = */ chain_insert_0118_ats_int64_type_2cats_ptr_type (tmp159, tmp152, tmp153) ; break ; /* branch: __ats_lab_20 */ #line 295 "hashtable.dats" __ats_lab_20_0: #line 295 "hashtable.dats" // if (arg2 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 295 "hashtable.dats" __ats_lab_20_1: break ; } while (0) ; return /* (tmp151) */ ; } /* end of [hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 9542(line=303, offs=38) -- 10394(line=325, offs=4) */ ATSstaticdec() ats_void_type hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type (ats_size_type arg0, ats_size_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_clo_ref_type arg4) { /* local vardec */ // ATSlocal_void (tmp146) ; ATSlocal (ats_bool_type, tmp147) ; ATSlocal (ats_ptr_type, tmp148) ; ATSlocal (ats_ptr_type, tmp149) ; // ATSlocal_void (tmp150) ; ATSlocal (ats_size_type, tmp160) ; ATSlocal (ats_ptr_type, tmp161) ; __ats_lab_hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type: #line 311 "hashtable.dats" tmp147 = atspre_gt_size1_int1 (arg0, 0) ; #line 311 "hashtable.dats" if (tmp147) { #line 313 "hashtable.dats" tmp148 = ats_ptrget_mac(ats_ptr_type, arg2) ; #line 313 "hashtable.dats" tmp149 = (ats_sum_ptr_type)0 ; #line 313 "hashtable.dats" ats_ptrget_mac(ats_ptr_type, arg2) = tmp149 ; #line 314 "hashtable.dats" /* tmp150 = */ hashtbl_ptr_insert_chain_0187_ats_int64_type_2cats_ptr_type (arg1, arg3, tmp148, arg4) ; #line 316 "hashtable.dats" tmp160 = atspre_sub_size1_int1 (arg0, 1) ; #line 316 "hashtable.dats" tmp161 = atspre_padd_size (arg2, sizeof(ats_ptr_type)) ; #line 315 "hashtable.dats" arg0 = tmp160 ; #line 315 "hashtable.dats" arg1 = arg1 ; #line 315 "hashtable.dats" arg2 = tmp161 ; #line 315 "hashtable.dats" arg3 = arg3 ; #line 315 "hashtable.dats" arg4 = arg4 ; #line 315 "hashtable.dats" goto __ats_lab_hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type ; // tail call } else { /* empty */ } /* end of [if] */ return /* (tmp146) */ ; } /* end of [hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 13960(line=444, offs=15) -- 14542(line=458, offs=4) */ ATSstaticdec() ats_void_type hashtbl_resize_0251_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) { /* local vardec */ // ATSlocal_void (tmp136) ; ATSlocal (ats_ptr_type, tmp137) ; ATSlocal (ats_ptr_type, tmp138) ; ATSlocal (ats_ptr_type, tmp139) ; ATSlocal (ats_ptr_type, tmp140) ; ATSlocal (ats_clo_ref_type, tmp141) ; ATSlocal (ats_ptr_type, tmp142) ; ATSlocal (ats_ptr_type, tmp143) ; ATSlocal (ats_ptr_type, tmp144) ; // ATSlocal_void (tmp145) ; ATSlocal (ats_size_type, tmp162) ; ATSlocal (ats_ptr_type, tmp163) ; // ATSlocal_void (tmp164) ; __ats_lab_hashtbl_resize_0251_ats_int64_type_2cats_ptr_type: #line 446 "hashtable.dats" tmp137 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_1) ; #line 448 "hashtable.dats" tmp138 = ats_ptrget_mac(ats_ptr_type, tmp137) ; #line 448 "hashtable.dats" do { /* branch: __ats_lab_18 */ #line 449 "hashtable.dats" __ats_lab_18_0: #line 449 "hashtable.dats" if (tmp138 == (ats_sum_ptr_type)0) { goto __ats_lab_21_0 ; } #line 449 "hashtable.dats" __ats_lab_18_1: #line 449 "hashtable.dats" tmp139 = &ats_caselptr_mac(anairiats_sum_9, tmp138, atslab_0) ; #line 449 "hashtable.dats" tmp140 = &ats_caselptr_mac(anairiats_sum_9, tmp138, atslab_2) ; #line 449 "hashtable.dats" tmp141 = ats_caselptr_mac(anairiats_sum_9, tmp138, atslab_3) ; #line 450 "hashtable.dats" tmp142 = ats_ptrget_mac(ats_ptr_type, tmp140) ; #line 451 "hashtable.dats" tmp143 = hashtbl_ptr_make (arg1) ; #line 451 "hashtable.dats" tmp144 = ats_selsin_mac(tmp143, atslab_2) ; #line 452 "hashtable.dats" tmp162 = ats_ptrget_mac(ats_size_type, tmp139) ; #line 452 "hashtable.dats" tmp163 = ats_ptrget_mac(ats_ptr_type, tmp140) ; #line 452 "hashtable.dats" /* tmp145 = */ hashtbl_ptr_relocate_0205_ats_int64_type_2cats_ptr_type (tmp162, arg1, tmp163, tmp144, tmp141) ; #line 453 "hashtable.dats" /* tmp164 = */ hashtbl_ptr_free (tmp142) ; #line 455 "hashtable.dats" ats_ptrget_mac(ats_size_type, tmp139) = arg1 ; #line 455 "hashtable.dats" ats_ptrget_mac(ats_ptr_type, tmp140) = tmp144 ; break ; /* branch: __ats_lab_21 */ #line 457 "hashtable.dats" __ats_lab_21_0: #line 457 "hashtable.dats" // if (tmp138 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 457 "hashtable.dats" __ats_lab_21_1: break ; } while (0) ; return /* (tmp136) */ ; } /* end of [hashtbl_resize_0251_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 14805(line=468, offs=25) -- 14984(line=473, offs=4) */ ATSstaticdec() ats_void_type hashtbl_resize_double_0268_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0) { /* local vardec */ // ATSlocal_void (tmp133) ; ATSlocal (ats_size_type, tmp134) ; ATSlocal (ats_bool_type, tmp135) ; ATSlocal (ats_size_type, tmp165) ; __ats_lab_hashtbl_resize_double_0268_ats_int64_type_2cats_ptr_type: #line 469 "hashtable.dats" tmp134 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_size (arg0) ; #line 472 "hashtable.dats" tmp135 = atspre_gt_size1_int1 (ats_castfn_mac(ats_size_type, tmp134), 0) ; #line 472 "hashtable.dats" if (tmp135) { #line 472 "hashtable.dats" tmp165 = atspre_add_size1_size1 (ats_castfn_mac(ats_size_type, tmp134), ats_castfn_mac(ats_size_type, tmp134)) ; #line 472 "hashtable.dats" /* tmp133 = */ hashtbl_resize_0251_ats_int64_type_2cats_ptr_type (arg0, tmp165) ; } else { /* empty */ } /* end of [if] */ return /* (tmp133) */ ; } /* end of [hashtbl_resize_double_0268_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 15342(line=485, offs=39) -- 16129(line=507, offs=4) */ ATSstaticdec() ats_ptr_type hashtbl_insert_err_01774_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_ptr_type arg2) { /* local vardec */ ATSlocal (ats_ptr_type, tmp103) ; ATSlocal (ats_double_type, tmp104) ; ATSlocal (ats_ptr_type, tmp105) ; ATSlocal (ats_ptr_type, tmp106) ; ATSlocal (ats_ptr_type, tmp107) ; ATSlocal (ats_size_type, tmp108) ; ATSlocal (ats_ptr_type, tmp109) ; ATSlocal (ats_ptr_type, tmp110) ; ATSlocal (ats_clo_ref_type, tmp111) ; ATSlocal (ats_size_type, tmp112) ; ATSlocal (ats_size_type, tmp113) ; ATSlocal (ats_double_type, tmp114) ; ATSlocal (ats_double_type, tmp115) ; ATSlocal (ats_double_type, tmp116) ; ATSlocal (ats_ulint_type, tmp117) ; ATSlocal (ats_size_type, tmp119) ; // ATSlocal_void (tmp120) ; ATSlocal (ats_size_type, tmp129) ; ATSlocal (ats_size_type, tmp130) ; // ATSlocal_void (tmp131) ; ATSlocal (ats_bool_type, tmp132) ; __ats_lab_hashtbl_insert_err_01774_ats_int64_type_2cats_ptr_type: #line 486 "hashtable.dats" /* ats_double_type tmp104 ; */ #line 486 "hashtable.dats" tmp104 = 0.0 ; #line 488 "hashtable.dats" tmp105 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_1) ; #line 490 "hashtable.dats" tmp107 = ats_ptrget_mac(ats_ptr_type, tmp105) ; #line 490 "hashtable.dats" do { /* branch: __ats_lab_16 */ #line 491 "hashtable.dats" __ats_lab_16_0: #line 491 "hashtable.dats" if (tmp107 == (ats_sum_ptr_type)0) { goto __ats_lab_17_0 ; } #line 491 "hashtable.dats" __ats_lab_16_1: #line 491 "hashtable.dats" tmp108 = ats_caselptr_mac(anairiats_sum_9, tmp107, atslab_0) ; #line 491 "hashtable.dats" tmp109 = &ats_caselptr_mac(anairiats_sum_9, tmp107, atslab_1) ; #line 491 "hashtable.dats" tmp110 = ats_caselptr_mac(anairiats_sum_9, tmp107, atslab_2) ; #line 491 "hashtable.dats" tmp111 = ats_caselptr_mac(anairiats_sum_9, tmp107, atslab_3) ; #line 492 "hashtable.dats" tmp113 = ats_ptrget_mac(ats_size_type, tmp109) ; #line 492 "hashtable.dats" tmp112 = atspre_add_size1_int1 (tmp113, 1) ; #line 493 "hashtable.dats" tmp115 = atspre_double_of_size (tmp112) ; #line 493 "hashtable.dats" tmp116 = atspre_double_of_size (tmp108) ; #line 493 "hashtable.dats" tmp114 = atspre_div_double_double (tmp115, tmp116) ; #line 493 "hashtable.dats" tmp104 = tmp114 ; #line 494 "hashtable.dats" tmp117 = hash_key_01768_ats_int64_type (arg1, tmp111) ; #line 495 "hashtable.dats" tmp119 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp117), tmp108) ; #line 496 "hashtable.dats" /* tmp120 = */ hashtbl_ptr_insert_off_0161_ats_int64_type_2cats_ptr_type (tmp110, arg1, arg2, tmp119) ; #line 498 "hashtable.dats" tmp130 = ats_ptrget_mac(ats_size_type, tmp109) ; #line 498 "hashtable.dats" tmp129 = atspre_add_size1_int1 (tmp130, 1) ; #line 498 "hashtable.dats" ats_ptrget_mac(ats_size_type, tmp109) = tmp129 ; #line 498 "hashtable.dats" tmp106 = (ats_sum_ptr_type)0 ; break ; /* branch: __ats_lab_17 */ #line 500 "hashtable.dats" __ats_lab_17_0: #line 500 "hashtable.dats" // if (tmp107 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 500 "hashtable.dats" __ats_lab_17_1: #line 500 "hashtable.dats" tmp106 = ATS_MALLOC(sizeof(anairiats_sum_11)) ; ats_selptrset_mac(anairiats_sum_11, tmp106, atslab_0, arg2) ; break ; } while (0) ; #line 503 "hashtable.dats" tmp132 = atspre_gte_double_double (tmp104, 5.0) ; #line 503 "hashtable.dats" if (tmp132) { #line 503 "hashtable.dats" /* tmp131 = */ hashtbl_resize_double_0268_ats_int64_type_2cats_ptr_type (arg0) ; } else { /* empty */ } /* end of [if] */ #line 506 "hashtable.dats" tmp103 = tmp106 ; return (tmp103) ; } /* end of [hashtbl_insert_err_01774_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 10434(line=446, offs=4) -- 10620(line=450, offs=4) */ ATSstaticdec() ats_void_type regname_insert_22 (ats_int64_type arg0, ats_ptr_type arg1) { /* local vardec */ // ATSlocal_void (tmp101) ; ATSlocal (ats_ptr_type, tmp102) ; __ats_lab_regname_insert_22: #line 447 "frame.dats" tmp102 = hashtbl_insert_err_01774_ats_int64_type_2cats_ptr_type (statmp94, arg0, arg1) ; #line 449 "frame.dats" do { /* branch: __ats_lab_22 */ #line 449 "frame.dats" __ats_lab_22_0: #line 449 "frame.dats" if (tmp102 == (ats_sum_ptr_type)0) { goto __ats_lab_23_0 ; } #line 449 "frame.dats" __ats_lab_22_1: #line 449 "frame.dats" ATS_FREE(tmp102) ; break ; /* branch: __ats_lab_23 */ #line 449 "frame.dats" __ats_lab_23_0: #line 449 "frame.dats" // if (tmp102 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 449 "frame.dats" __ats_lab_23_1: break ; } while (0) ; return /* (tmp101) */ ; } /* end of [regname_insert_22] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 625(line=31, offs=30) -- 651(line=31, offs=56) */ ATSstaticdec() ats_bool_type equal_key_key_01767_ats_int64_type (ats_int64_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2) { /* local vardec */ ATSlocal (ats_bool_type, tmp193) ; __ats_lab_equal_key_key_01767_ats_int64_type: #line 31 "hashtable.dats" tmp193 = ((ats_bool_type(*)(ats_clo_ptr_type, ats_int64_type, ats_int64_type))(ats_closure_fun(arg2))) (arg2, arg0, arg1) ; return (tmp193) ; } /* end of [equal_key_key_01767_ats_int64_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 2872(line=107, offs=3) -- 3258(line=118, offs=43) */ ATSstaticdec() ats_ptr_type chain_search_0109_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2) { /* local vardec */ ATSlocal (ats_ptr_type, tmp188) ; ATSlocal (ats_int64_type, tmp189) ; ATSlocal (ats_ptr_type, tmp190) ; ATSlocal (ats_ptr_type, tmp191) ; ATSlocal (ats_bool_type, tmp192) ; ATSlocal (ats_ptr_type, tmp194) ; __ats_lab_chain_search_0109_ats_int64_type_2cats_ptr_type: #line 108 "hashtable.dats" do { /* branch: __ats_lab_25 */ #line 109 "hashtable.dats" __ats_lab_25_0: #line 109 "hashtable.dats" if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_26_0 ; } #line 109 "hashtable.dats" __ats_lab_25_1: #line 109 "hashtable.dats" tmp189 = ats_caselptr_mac(anairiats_sum_10, arg0, atslab_0) ; #line 109 "hashtable.dats" tmp190 = ats_caselptr_mac(anairiats_sum_10, arg0, atslab_1) ; #line 109 "hashtable.dats" tmp191 = &ats_caselptr_mac(anairiats_sum_10, arg0, atslab_2) ; #line 110 "hashtable.dats" tmp192 = equal_key_key_01767_ats_int64_type (arg1, tmp189, arg2) ; #line 112 "hashtable.dats" if (tmp192) { #line 112 "hashtable.dats" tmp188 = ATS_MALLOC(sizeof(anairiats_sum_11)) ; ats_selptrset_mac(anairiats_sum_11, tmp188, atslab_0, tmp190) ; } else { #line 113 "hashtable.dats" tmp194 = ats_ptrget_mac(ats_ptr_type, tmp191) ; #line 113 "hashtable.dats" arg0 = tmp194 ; #line 113 "hashtable.dats" arg1 = arg1 ; #line 113 "hashtable.dats" arg2 = arg2 ; #line 113 "hashtable.dats" goto __ats_lab_chain_search_0109_ats_int64_type_2cats_ptr_type ; // tail call } /* end of [if] */ break ; /* branch: __ats_lab_26 */ #line 118 "hashtable.dats" __ats_lab_26_0: #line 118 "hashtable.dats" // if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 118 "hashtable.dats" __ats_lab_26_1: #line 118 "hashtable.dats" tmp188 = (ats_sum_ptr_type)0 ; break ; } while (0) ; return (tmp188) ; } /* end of [chain_search_0109_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 6506(line=211, offs=50) -- 6917(line=223, offs=4) */ ATSstaticdec() ats_ptr_type hashtbl_ptr_search_off_0148_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1, ats_clo_ref_type arg2, ats_size_type arg3) { /* local vardec */ ATSlocal (ats_ptr_type, tmp185) ; ATSlocal (ats_ptr_type, tmp186) ; ATSlocal (ats_ptr_type, tmp187) ; ATSlocal (ats_ptr_type, tmp195) ; __ats_lab_hashtbl_ptr_search_off_0148_ats_int64_type_2cats_ptr_type: #line 216 "hashtable.dats" tmp186 = hashtbl_split_0140_ (arg0, arg3) ; #line 215 "hashtable.dats" tmp187 = ats_selsin_mac(tmp186, atslab_2) ; #line 218 "hashtable.dats" tmp195 = ats_ptrget_mac(ats_ptr_type, tmp187) ; #line 218 "hashtable.dats" tmp185 = chain_search_0109_ats_int64_type_2cats_ptr_type (tmp195, arg1, arg2) ; return (tmp185) ; } /* end of [hashtbl_ptr_search_off_0148_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/LIB/hashtable.dats: 13420(line=427, offs=35) -- 13853(line=439, offs=4) */ ATSstaticdec() ats_ptr_type hashtbl_search_01773_ats_int64_type_2cats_ptr_type (ats_ptr_type arg0, ats_int64_type arg1) { /* local vardec */ ATSlocal (ats_ptr_type, tmp176) ; ATSlocal (ats_ptr_type, tmp177) ; ATSlocal (ats_ptr_type, tmp178) ; ATSlocal (ats_size_type, tmp179) ; ATSlocal (ats_ptr_type, tmp180) ; ATSlocal (ats_clo_ref_type, tmp181) ; ATSlocal (ats_clo_ref_type, tmp182) ; ATSlocal (ats_ulint_type, tmp183) ; ATSlocal (ats_size_type, tmp184) ; __ats_lab_hashtbl_search_01773_ats_int64_type_2cats_ptr_type: #line 428 "hashtable.dats" tmp177 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_1) ; #line 430 "hashtable.dats" tmp178 = ats_ptrget_mac(ats_ptr_type, tmp177) ; #line 430 "hashtable.dats" do { /* branch: __ats_lab_24 */ #line 431 "hashtable.dats" __ats_lab_24_0: #line 431 "hashtable.dats" if (tmp178 == (ats_sum_ptr_type)0) { goto __ats_lab_27_0 ; } #line 431 "hashtable.dats" __ats_lab_24_1: #line 431 "hashtable.dats" tmp179 = ats_caselptr_mac(anairiats_sum_9, tmp178, atslab_0) ; #line 431 "hashtable.dats" tmp180 = ats_caselptr_mac(anairiats_sum_9, tmp178, atslab_2) ; #line 431 "hashtable.dats" tmp181 = ats_caselptr_mac(anairiats_sum_9, tmp178, atslab_3) ; #line 431 "hashtable.dats" tmp182 = ats_caselptr_mac(anairiats_sum_9, tmp178, atslab_4) ; #line 432 "hashtable.dats" tmp183 = hash_key_01768_ats_int64_type (arg1, tmp181) ; #line 433 "hashtable.dats" tmp184 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp183), tmp179) ; #line 434 "hashtable.dats" tmp176 = hashtbl_ptr_search_off_0148_ats_int64_type_2cats_ptr_type (tmp180, arg1, tmp182, tmp184) ; break ; /* branch: __ats_lab_27 */ #line 438 "hashtable.dats" __ats_lab_27_0: #line 438 "hashtable.dats" // if (tmp178 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 438 "hashtable.dats" __ats_lab_27_1: #line 438 "hashtable.dats" tmp176 = (ats_sum_ptr_type)0 ; break ; } while (0) ; return (tmp176) ; } /* end of [hashtbl_search_01773_ats_int64_type_2cats_ptr_type] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 12354(line=507, offs=29) -- 12493(line=511, offs=4) */ ATSglobaldec() ats_ptr_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__register_name_get (ats_int64_type arg0) { /* local vardec */ ATSlocal (ats_ptr_type, tmp174) ; ATSlocal (ats_ptr_type, tmp175) ; ATSlocal (ats_ptr_type, tmp196) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__register_name_get: #line 508 "frame.dats" tmp175 = hashtbl_search_01773_ats_int64_type_2cats_ptr_type (statmp94, arg0) ; #line 510 "frame.dats" do { /* branch: __ats_lab_28 */ #line 510 "frame.dats" __ats_lab_28_0: #line 510 "frame.dats" if (tmp175 == (ats_sum_ptr_type)0) { goto __ats_lab_29_0 ; } #line 510 "frame.dats" __ats_lab_28_1: #line 510 "frame.dats" tmp196 = ats_caselptr_mac(anairiats_sum_11, tmp175, atslab_0) ; #line 510 "frame.dats" ATS_FREE(tmp175) ; #line 510 "frame.dats" tmp174 = tmp196 ; break ; /* branch: __ats_lab_29 */ #line 510 "frame.dats" __ats_lab_29_0: #line 510 "frame.dats" // if (tmp175 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; } #line 510 "frame.dats" __ats_lab_29_1: #line 510 "frame.dats" tmp174 = ATSstrcst("tmp?") ; break ; } while (0) ; return (tmp174) ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__register_name_get] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 14551(line=585, offs=31) -- 15364(line=611, offs=4) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr (ats_ptr_type arg0, ats_ref_type arg1) { /* local vardec */ // ATSlocal_void (tmp197) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr: return /* (tmp197) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 15433(line=613, offs=36) -- 15822(line=626, offs=4) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr_emit (ats_ptr_type arg0, ats_ptr_type arg1) { /* local vardec */ // ATSlocal_void (tmp198) ; // ATSlocal_void (tmp199) ; // ATSlocal_void (tmp200) ; ATSlocal (ats_int_type, tmp201) ; ATSlocal (ats_bool_type, tmp202) ; ATSlocal (ats_ptr_type, tmp203) ; ATSlocal (ats_ptr_type, tmp204) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr_emit: #line 614 "frame.dats" /* tmp199 = */ atspre_fprintf_exn (arg0, ATSstrcst("\tpushl %%ebp\n")) ; #line 615 "frame.dats" /* tmp200 = */ atspre_fprintf_exn (arg0, ATSstrcst("\tmovl %%esp, %%ebp\n")) ; #line 616 "frame.dats" tmp201 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_size_get (arg1) ; #line 617 "frame.dats" tmp202 = atspre_gt_int_int (tmp201, 0) ; #line 617 "frame.dats" if (tmp202) { #line 618 "frame.dats" tmp203 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_name_get (arg1) ; #line 619 "frame.dats" tmp204 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__label_name_get (tmp203) ; #line 620 "frame.dats" /* tmp198 = */ atspre_fprintf_exn (arg0, ATSstrcst("\tsubl $.%s_framesize, %%esp\n"), tmp204) ; } else { /* empty */ } /* end of [if] */ return /* (tmp198) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_entr_emit] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 15890(line=628, offs=31) -- 16185(line=638, offs=4) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_exit (ats_ptr_type arg0, ats_ref_type arg1) { /* local vardec */ // ATSlocal_void (tmp205) ; ATSlocal (ats_ptr_type, tmp206) ; ATSlocal (ats_ptr_type, tmp207) ; ATSlocal (ats_ptr_type, tmp208) ; ATSlocal (ats_ptr_type, tmp209) ; ATSlocal (ats_ptr_type, tmp210) ; ATSlocal (ats_ptr_type, tmp211) ; ATSlocal (ats_ptr_type, tmp212) ; ATSlocal (ats_ptr_type, tmp213) ; ATSlocal (ats_ptr_type, tmp214) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_exit: #line 632 "frame.dats" tmp206 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp206, atslab_0, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP) ; #line 632 "frame.dats" tmp207 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp206), atslab_1) ; #line 632 "frame.dats" tmp208 = (ats_sum_ptr_type)0 ; #line 632 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp207) = tmp208 ; #line 632 "frame.dats" tmp209 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, tmp209, atslab_0, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP) ; #line 632 "frame.dats" tmp210 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, tmp209), atslab_1) ; #line 632 "frame.dats" tmp211 = (ats_sum_ptr_type)0 ; #line 632 "frame.dats" ats_ptrget_mac(ats_ptr_type, tmp210) = tmp211 ; #line 632 "frame.dats" tmp212 = (ats_sum_ptr_type)0 ; #line 633 "frame.dats" tmp213 = ATS_MALLOC(sizeof(anairiats_sum_8)) ; ((ats_sum_ptr_type)tmp213)->tag = 0 ; ats_selptrset_mac(anairiats_sum_8, tmp213, atslab_0, ATSstrcst("leave")) ; ats_selptrset_mac(anairiats_sum_8, tmp213, atslab_1, tmp206) ; ats_selptrset_mac(anairiats_sum_8, tmp213, atslab_2, tmp209) ; ats_selptrset_mac(anairiats_sum_8, tmp213, atslab_3, tmp212) ; #line 634 "frame.dats" tmp214 = ATS_MALLOC(sizeof(anairiats_sum_0)) ; ats_selptrset_mac(anairiats_sum_0, tmp214, atslab_0, tmp213) ; ats_selptrset_mac(anairiats_sum_0, tmp214, atslab_1, ats_ptrget_mac(ats_ptr_type, arg1)) ; #line 634 "frame.dats" ats_ptrget_mac(ats_ptr_type, arg1) = tmp214 ; return /* (tmp205) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit1_exit] */ /* // /cs-pub/www-dir/faculty/hwxi/academic/courses/CS525/Spring09/code/Tiger/frame.dats: 16265(line=642, offs=26) -- 16461(line=647, offs=2) */ ATSglobaldec() ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit2 (ats_ptr_type arg0, ats_ref_type arg1) { /* local vardec */ // ATSlocal_void (tmp215) ; ATSlocal (ats_ptr_type, tmp216) ; ATSlocal (ats_ptr_type, tmp217) ; ATSlocal (ats_ptr_type, tmp218) ; ATSlocal (ats_ptr_type, tmp219) ; __ats_lab__2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit2: #line 645 "frame.dats" tmp216 = (ats_sum_ptr_type)0 ; #line 645 "frame.dats" tmp217 = (ats_sum_ptr_type)0 ; #line 646 "frame.dats" tmp218 = ATS_MALLOC(sizeof(anairiats_sum_8)) ; ((ats_sum_ptr_type)tmp218)->tag = 0 ; ats_selptrset_mac(anairiats_sum_8, tmp218, atslab_0, ATSstrcst("ret")) ; ats_selptrset_mac(anairiats_sum_8, tmp218, atslab_1, _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCalleesavedReglst) ; ats_selptrset_mac(anairiats_sum_8, tmp218, atslab_2, tmp216) ; ats_selptrset_mac(anairiats_sum_8, tmp218, atslab_3, tmp217) ; #line 643 "frame.dats" tmp219 = ATS_MALLOC(sizeof(anairiats_sum_0)) ; ats_selptrset_mac(anairiats_sum_0, tmp219, atslab_0, tmp218) ; ats_selptrset_mac(anairiats_sum_0, tmp219, atslab_1, ats_ptrget_mac(ats_ptr_type, arg1)) ; #line 643 "frame.dats" ats_ptrget_mac(ats_ptr_type, arg1) = tmp219 ; return /* (tmp215) */ ; } /* end of [_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__procEntryExit2] */ /* static load function */ extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2error_2esats__staload (void) ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__staload (void) ; extern ats_void_type ATS_2d0_2e2_2e6_2prelude_2DATS_2reference_2edats__staload (void) ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__staload (void) ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2assem_2esats__staload (void) ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__staload (void) ; extern ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__staload (void) ; ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__staload () { static int _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__staload_flag = 0 ; if (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__staload_flag) return ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__staload_flag = 1 ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2error_2esats__staload () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__staload () ; ATS_2d0_2e2_2e6_2prelude_2DATS_2reference_2edats__staload () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__staload () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2assem_2esats__staload () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2irtree_2esats__staload () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__staload () ; // _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InFrame.tag = 0 ; // _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__InReg.tag = 1 ; return ; } /* staload function */ /* dynamic load function */ // dynload flag declaration extern ats_int_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__dynload_flag ; ats_void_type _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__dynload () { _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__dynload_flag = 1 ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2edats__staload () ; #ifdef _ATS_PROOFCHECK _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_v_split_prfck () ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2LIB_2hashtable_2edats__hashtbl_v_unsplit_prfck () ; #endif /* _ATS_PROOFCHECK */ /* marking static variables for GC */ ATS_GC_MARKROOT(&statmp0, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp4, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp27, sizeof(ats_int_type)) ; ATS_GC_MARKROOT(&statmp28, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp29, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp69, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp70, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp71, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp72, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp73, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp74, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp75, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp76, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp77, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp78, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp79, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp80, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp81, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp82, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp83, sizeof(ats_int64_type)) ; ATS_GC_MARKROOT(&statmp84, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp85, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp86, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp87, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp88, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp89, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp91, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp93, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp94, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp220, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp221, sizeof(ats_ptr_type)) ; ATS_GC_MARKROOT(&statmp222, sizeof(ats_ptr_type)) ; /* marking external values for GC */ /* code for dynamic loading */ #line 30 "frame.dats" statmp4 = (ats_sum_ptr_type)0 ; #line 30 "frame.dats" statmp0 = ref_make_elt_01024_ats_ptr_type (statmp4) ; #line 116 "frame.dats" statmp27 = atspre_idiv (32, 8) ; #line 116 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE, sizeof(ats_int_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__WORDSIZE = statmp27 ; #line 124 "frame.dats" statmp29 = (ats_sum_ptr_type)0 ; #line 124 "frame.dats" statmp28 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__frame_make_new (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__tiger_main, 0, statmp29) ; #line 122 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theTopFrame, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theTopFrame = statmp28 ; #line 358 "frame.dats" statmp69 = (ats_sum_ptr_type)0 ; #line 358 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theFunargReglst, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theFunargReglst = statmp69 ; #line 369 "frame.dats" statmp70 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (0) ; #line 370 "frame.dats" statmp71 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (1) ; #line 371 "frame.dats" statmp72 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (2) ; #line 373 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP = statmp70 ; #line 374 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP = statmp71 ; #line 375 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__RV, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__RV = statmp72 ; #line 378 "frame.dats" statmp73 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp73, atslab_0, statmp70) ; #line 378 "frame.dats" statmp74 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp73), atslab_1) ; #line 378 "frame.dats" statmp75 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp75, atslab_0, statmp71) ; #line 378 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp74) = statmp75 ; #line 378 "frame.dats" statmp74 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp75), atslab_1) ; #line 378 "frame.dats" statmp75 = (ats_sum_ptr_type)0 ; #line 378 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp74) = statmp75 ; #line 378 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theSpecialReglst, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theSpecialReglst = statmp73 ; #line 384 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EAX, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EAX = statmp72 ; #line 385 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESP, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESP = statmp70 ; #line 386 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBP, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBP = statmp71 ; #line 391 "frame.dats" statmp76 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (11) ; #line 392 "frame.dats" statmp77 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (12) ; #line 394 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ECX, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ECX = statmp76 ; #line 395 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDX, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDX = statmp77 ; #line 398 "frame.dats" statmp78 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp78, atslab_0, statmp72) ; #line 398 "frame.dats" statmp79 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp78), atslab_1) ; #line 398 "frame.dats" statmp80 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp80, atslab_0, statmp76) ; #line 398 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp79) = statmp80 ; #line 398 "frame.dats" statmp79 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp80), atslab_1) ; #line 398 "frame.dats" statmp80 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp80, atslab_0, statmp77) ; #line 398 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp79) = statmp80 ; #line 398 "frame.dats" statmp79 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp80), atslab_1) ; #line 397 "frame.dats" statmp80 = (ats_sum_ptr_type)0 ; #line 397 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp79) = statmp80 ; #line 397 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCallersavedReglst, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCallersavedReglst = statmp78 ; #line 405 "frame.dats" statmp81 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (20) ; #line 406 "frame.dats" statmp82 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (21) ; #line 407 "frame.dats" statmp83 = _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2templab_2esats__temp_make_fixed (22) ; #line 409 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBX, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBX = statmp81 ; #line 410 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESI, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESI = statmp82 ; #line 411 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDI, sizeof(ats_int64_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDI = statmp83 ; #line 414 "frame.dats" statmp84 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp84, atslab_0, statmp81) ; #line 414 "frame.dats" statmp85 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp84), atslab_1) ; #line 414 "frame.dats" statmp86 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp86, atslab_0, statmp82) ; #line 414 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp85) = statmp86 ; #line 414 "frame.dats" statmp85 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp86), atslab_1) ; #line 414 "frame.dats" statmp86 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp86, atslab_0, statmp83) ; #line 414 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp85) = statmp86 ; #line 414 "frame.dats" statmp85 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp86), atslab_1) ; #line 413 "frame.dats" statmp86 = (ats_sum_ptr_type)0 ; #line 413 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp85) = statmp86 ; #line 413 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCalleesavedReglst, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theCalleesavedReglst = statmp84 ; #line 418 "frame.dats" statmp87 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp87, atslab_0, statmp72) ; #line 418 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp87), atslab_1) ; #line 419 "frame.dats" statmp89 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp89, atslab_0, statmp81) ; #line 419 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 419 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp89), atslab_1) ; #line 420 "frame.dats" statmp89 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp89, atslab_0, statmp76) ; #line 420 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 420 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp89), atslab_1) ; #line 421 "frame.dats" statmp89 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp89, atslab_0, statmp77) ; #line 421 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 421 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp89), atslab_1) ; #line 422 "frame.dats" statmp89 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp89, atslab_0, statmp82) ; #line 422 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 422 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp89), atslab_1) ; #line 423 "frame.dats" statmp89 = ATS_MALLOC(sizeof(anairiats_sum_7)) ; ats_selptrset_mac(anairiats_sum_7, statmp89, atslab_0, statmp83) ; #line 423 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 423 "frame.dats" statmp88 = &ats_selptr_mac(ats_castptr_mac(anairiats_sum_7, statmp89), atslab_1) ; #line 417 "frame.dats" statmp89 = (ats_sum_ptr_type)0 ; #line 417 "frame.dats" ats_ptrget_mac(ats_ptr_type, statmp88) = statmp89 ; #line 417 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theGeneralReglst, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__theGeneralReglst = statmp87 ; #line 438 "frame.dats" statmp91 = __ats_fun_19_closure_make () ; #line 440 "frame.dats" statmp93 = __ats_fun_20_closure_make () ; #line 444 "frame.dats" statmp94 = hashtbl_make_hint_01772_ats_int64_type_2cats_ptr_type (statmp91, statmp93, 32) ; #line 494 "frame.dats" /* statmp166 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__SP, ATSstrcst("%esp")) ; #line 495 "frame.dats" /* statmp167 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__FP, ATSstrcst("%ebp")) ; #line 496 "frame.dats" /* statmp168 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EAX, ATSstrcst("%eax")) ; #line 497 "frame.dats" /* statmp169 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EBX, ATSstrcst("%ebx")) ; #line 498 "frame.dats" /* statmp170 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ECX, ATSstrcst("%ecx")) ; #line 499 "frame.dats" /* statmp171 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDX, ATSstrcst("%edx")) ; #line 500 "frame.dats" /* statmp172 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__ESI, ATSstrcst("%esi")) ; #line 501 "frame.dats" /* statmp173 = */ regname_insert_22 (_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__EDI, ATSstrcst("%edi")) ; #line 655 "frame.dats" statmp220 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)statmp220)->tag = 2 ; ats_selptrset_mac(anairiats_sum_2, statmp220, atslab_0, statmp71) ; #line 655 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_FP, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_FP = statmp220 ; #line 656 "frame.dats" statmp221 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)statmp221)->tag = 2 ; ats_selptrset_mac(anairiats_sum_2, statmp221, atslab_0, statmp70) ; #line 656 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_SP, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_SP = statmp221 ; #line 657 "frame.dats" statmp222 = ATS_MALLOC(sizeof(anairiats_sum_2)) ; ((ats_sum_ptr_type)statmp222)->tag = 2 ; ats_selptrset_mac(anairiats_sum_2, statmp222, atslab_0, statmp72) ; #line 657 "frame.dats" ATS_GC_MARKROOT(&_2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_RV, sizeof(ats_ptr_type)) ; _2cs_2dpub_2www_2ddir_2faculty_2hwxi_2academic_2courses_2CS525_2Spring09_2code_2Tiger_2frame_2esats__exp_RV = statmp222 ; return ; } /* end of [dynload function] */ /* external codes at mid */ /* external codes at bot */ #line 661 "frame.dats" #define NBIT_PER_BYTE 8 ats_void_type tigerats_frame_nlocvar_set (ats_ptr_type frame, ats_int_type n) { ((frame_t)frame)->atslab_frame_nlocvar = n ; return ; } // end of [tigerats_frame_nlocvar_set] /* ****** ****** */ /* end of [frame_dats.c] */