X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgMiscClosures.h;h=16d1483bd9e71bcc82835af1ae3666ce70663deb;hb=d1c1b7d0e7b94ede238845c91f58582bad3b3ef3;hp=ef39a8ef70b92d534bed59fb3023ef6547aee1a6;hpb=423d477bfecd490de1449c59325c8776f91d7aac;p=ghc-hetmet.git diff --git a/ghc/includes/StgMiscClosures.h b/ghc/includes/StgMiscClosures.h index ef39a8e..16d1483 100644 --- a/ghc/includes/StgMiscClosures.h +++ b/ghc/includes/StgMiscClosures.h @@ -40,20 +40,23 @@ RTS_RET_INFO(stg_upd_frame_info); RTS_RET_INFO(stg_noupd_frame_info); RTS_RET_INFO(stg_seq_frame_info); RTS_RET_INFO(stg_catch_frame_info); +RTS_RET_INFO(stg_catch_retry_frame_info); +RTS_RET_INFO(stg_atomically_frame_info); +RTS_RET_INFO(stg_catch_stm_frame_info); RTS_ENTRY(stg_upd_frame_ret); RTS_ENTRY(stg_seq_frame_ret); /* Entry code for constructors created by the bytecode interpreter */ -RTS_ENTRY(stg_interp_constr_entry); -RTS_ENTRY(stg_interp_constr1_entry); -RTS_ENTRY(stg_interp_constr2_entry); -RTS_ENTRY(stg_interp_constr3_entry); -RTS_ENTRY(stg_interp_constr4_entry); -RTS_ENTRY(stg_interp_constr5_entry); -RTS_ENTRY(stg_interp_constr6_entry); -RTS_ENTRY(stg_interp_constr7_entry); -RTS_ENTRY(stg_interp_constr8_entry); +RTS_FUN(stg_interp_constr_entry); +RTS_FUN(stg_interp_constr1_entry); +RTS_FUN(stg_interp_constr2_entry); +RTS_FUN(stg_interp_constr3_entry); +RTS_FUN(stg_interp_constr4_entry); +RTS_FUN(stg_interp_constr5_entry); +RTS_FUN(stg_interp_constr6_entry); +RTS_FUN(stg_interp_constr7_entry); +RTS_FUN(stg_interp_constr8_entry); /* Magic glue code for when compiled code returns a value in R1/F1/D1 or a VoidRep to the interpreter. */ @@ -119,16 +122,23 @@ RTS_INFO(stg_ARR_WORDS_info); RTS_INFO(stg_MUT_ARR_WORDS_info); RTS_INFO(stg_MUT_ARR_PTRS_info); RTS_INFO(stg_MUT_ARR_PTRS_FROZEN_info); +RTS_INFO(stg_MUT_ARR_PTRS_FROZEN0_info); RTS_INFO(stg_MUT_VAR_info); RTS_INFO(stg_END_TSO_QUEUE_info); RTS_INFO(stg_MUT_CONS_info); -RTS_INFO(stg_END_MUT_LIST_info); RTS_INFO(stg_catch_info); RTS_INFO(stg_PAP_info); RTS_INFO(stg_AP_info); RTS_INFO(stg_AP_STACK_info); RTS_INFO(stg_dummy_ret_info); RTS_INFO(stg_raise_info); +RTS_INFO(stg_TVAR_WAIT_QUEUE_info); +RTS_INFO(stg_TVAR_info); +RTS_INFO(stg_TREC_CHUNK_info); +RTS_INFO(stg_TREC_HEADER_info); +RTS_INFO(stg_END_STM_WAIT_QUEUE_info); +RTS_INFO(stg_END_STM_CHUNK_LIST_info); +RTS_INFO(stg_NO_TREC_info); RTS_ENTRY(stg_IND_entry); RTS_ENTRY(stg_IND_direct_entry); @@ -172,32 +182,46 @@ RTS_ENTRY(stg_ARR_WORDS_entry); RTS_ENTRY(stg_MUT_ARR_WORDS_entry); RTS_ENTRY(stg_MUT_ARR_PTRS_entry); RTS_ENTRY(stg_MUT_ARR_PTRS_FROZEN_entry); +RTS_ENTRY(stg_MUT_ARR_PTRS_FROZEN0_entry); RTS_ENTRY(stg_MUT_VAR_entry); RTS_ENTRY(stg_END_TSO_QUEUE_entry); RTS_ENTRY(stg_MUT_CONS_entry); -RTS_ENTRY(stg_END_MUT_LIST_entry); RTS_ENTRY(stg_catch_entry); RTS_ENTRY(stg_PAP_entry); RTS_ENTRY(stg_AP_entry); RTS_ENTRY(stg_AP_STACK_entry); RTS_ENTRY(stg_dummy_ret_entry); RTS_ENTRY(stg_raise_entry); +RTS_ENTRY(stg_END_STM_WAIT_QUEUE_entry); +RTS_ENTRY(stg_END_STM_CHUNK_LIST_entry); +RTS_ENTRY(stg_NO_TREC_entry); +RTS_ENTRY(stg_TVAR_entry); +RTS_ENTRY(stg_TVAR_WAIT_QUEUE_entry); +RTS_ENTRY(stg_TREC_CHUNK_entry); +RTS_ENTRY(stg_TREC_HEADER_entry); RTS_ENTRY(stg_unblockAsyncExceptionszh_ret_ret); RTS_ENTRY(stg_blockAsyncExceptionszh_ret_ret); RTS_ENTRY(stg_catch_frame_ret); +RTS_ENTRY(stg_catch_retry_frame_ret); +RTS_ENTRY(stg_atomically_frame_ret); +RTS_ENTRY(stg_catch_stm_frame_ret); +RTS_ENTRY(stg_catch_frame_ret); RTS_ENTRY(stg_catch_entry); RTS_ENTRY(stg_raise_entry); /* closures */ RTS_CLOSURE(stg_END_TSO_QUEUE_closure); -RTS_CLOSURE(stg_END_MUT_LIST_closure); RTS_CLOSURE(stg_NO_FINALIZER_closure); RTS_CLOSURE(stg_dummy_ret_closure); RTS_CLOSURE(stg_forceIO_closure); +RTS_CLOSURE(stg_END_STM_WAIT_QUEUE_closure); +RTS_CLOSURE(stg_END_STM_CHUNK_LIST_closure); +RTS_CLOSURE(stg_NO_TREC_closure); + RTS_ENTRY(stg_NO_FINALIZER_entry); RTS_ENTRY(stg_END_EXCEPTION_LIST_entry); RTS_ENTRY(stg_EXCEPTION_CONS_entry); @@ -436,8 +460,9 @@ RTS_FUN(stg_block_takemvar); RTS_ENTRY(stg_block_takemvar_ret); RTS_FUN(stg_block_putmvar); RTS_ENTRY(stg_block_putmvar_ret); -#ifdef mingw32_TARGET_OS +#ifdef mingw32_HOST_OS RTS_FUN(stg_block_async); +RTS_FUN(stg_block_async_void); #endif /* Entry/exit points from StgStartup.cmm */ @@ -511,7 +536,7 @@ RTS_FUN(tryPutMVarzh_fast); RTS_FUN(waitReadzh_fast); RTS_FUN(waitWritezh_fast); RTS_FUN(delayzh_fast); -#ifdef mingw32_TARGET_OS +#ifdef mingw32_HOST_OS RTS_FUN(asyncReadzh_fast); RTS_FUN(asyncWritezh_fast); RTS_FUN(asyncDoProczh_fast); @@ -543,4 +568,12 @@ RTS_FUN(mkForeignObjzh_fast); RTS_FUN(newBCOzh_fast); RTS_FUN(mkApUpd0zh_fast); +RTS_FUN(retryzh_fast); +RTS_FUN(catchRetryzh_fast); +RTS_FUN(catchSTMzh_fast); +RTS_FUN(atomicallyzh_fast); +RTS_FUN(newTVarzh_fast); +RTS_FUN(readTVarzh_fast); +RTS_FUN(writeTVarzh_fast); + #endif /* STGMISCCLOSURES_H */