summaryrefslogtreecommitdiff
path: root/rts/Updates.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Updates.cmm')
-rw-r--r--rts/Updates.cmm4
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));
}