X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgMiscClosures.h;h=45ae06b3a6670530860f86665c9a3e5807e0eb23;hb=153b9cb9b11e05c4edb1b6bc0a7b972660e41f70;hp=ef39a8ef70b92d534bed59fb3023ef6547aee1a6;hpb=423d477bfecd490de1449c59325c8776f91d7aac;p=ghc-hetmet.git diff --git a/ghc/includes/StgMiscClosures.h b/ghc/includes/StgMiscClosures.h index ef39a8e..45ae06b 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. */ @@ -129,6 +132,13 @@ 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); @@ -182,11 +192,22 @@ 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); @@ -198,6 +219,10 @@ 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 +461,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 +537,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 +569,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 */