diff options
author | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
---|---|---|
committer | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
commit | 84c2ad99582391005b5e873198b15e9e9eb4f78d (patch) | |
tree | caa8c2f2ec7e97fbb4977263c6817c9af5025cf4 /rts/Updates.cmm | |
parent | 8ddb47cfcf5776e9a3c55fd37947c8a95e00fa12 (diff) | |
parent | e68b439fe5de61b9a2ca51af472185c62ccb8b46 (diff) | |
download | haskell-wip/T13904.tar.gz |
update to current master againwip/T13904
Diffstat (limited to 'rts/Updates.cmm')
-rw-r--r-- | rts/Updates.cmm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Updates.cmm b/rts/Updates.cmm index b3b6b20ef3..9d00fb8efb 100644 --- a/rts/Updates.cmm +++ b/rts/Updates.cmm @@ -54,7 +54,7 @@ INFO_TABLE_RET ( stg_marked_upd_frame, UPDATE_FRAME, // we know the closure is a BLACKHOLE v = StgInd_indirectee(updatee); - if (GETTAG(v) != 0) { + if (GETTAG(v) != 0) (likely: False) { // updated by someone else: discard our value and use the // other one to increase sharing, but check the blocking // queues to see if any threads were waiting on this BLACKHOLE. @@ -63,7 +63,7 @@ INFO_TABLE_RET ( stg_marked_upd_frame, UPDATE_FRAME, } // common case: it is still our BLACKHOLE - if (v == CurrentTSO) { + if (v == CurrentTSO) (likely: True) { updateWithIndirection(updatee, ret, return (ret)); } |