[commit: ghc] master: Add live stg info to Updates.cmm (fixes #4308) (a63c423)
David Terei
davidterei at gmail.com
Tue Jan 10 03:42:18 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/a63c4237469307c425456c6acf1578f47c86f3a4
>---------------------------------------------------------------
commit a63c4237469307c425456c6acf1578f47c86f3a4
Author: David Terei <davidterei at gmail.com>
Date: Sat Jan 7 02:53:31 2012 -0800
Add live stg info to Updates.cmm (fixes #4308)
>---------------------------------------------------------------
rts/Updates.cmm | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/rts/Updates.cmm b/rts/Updates.cmm
index 0b43b9c..44fbc0e 100644
--- a/rts/Updates.cmm
+++ b/rts/Updates.cmm
@@ -50,7 +50,7 @@ INFO_TABLE_RET( stg_upd_frame, UPDATE_FRAME, UPD_FRAME_PARAMS)
updateWithIndirection(updatee,
R1,
- jump %ENTRY_CODE(Sp(0)));
+ jump %ENTRY_CODE(Sp(0)) [R1]);
}
@@ -72,21 +72,21 @@ INFO_TABLE_RET( stg_marked_upd_frame, UPDATE_FRAME, UPD_FRAME_PARAMS)
R1 = v;
foreign "C" checkBlockingQueues(MyCapability() "ptr",
CurrentTSO "ptr") [R1];
- jump %ENTRY_CODE(Sp(0));
+ jump %ENTRY_CODE(Sp(0)) [R1];
}
// common case: it is still our BLACKHOLE
if (v == CurrentTSO) {
updateWithIndirection(updatee,
R1,
- jump %ENTRY_CODE(Sp(0)));
+ jump %ENTRY_CODE(Sp(0)) [R1]);
}
// The other cases are all handled by the generic code
foreign "C" updateThunk (MyCapability() "ptr", CurrentTSO "ptr",
updatee "ptr", R1 "ptr") [R1];
- jump %ENTRY_CODE(Sp(0));
+ jump %ENTRY_CODE(Sp(0)) [R1];
}
// Special update frame code for CAFs and eager-blackholed thunks: it
@@ -95,5 +95,6 @@ INFO_TABLE_RET( stg_marked_upd_frame, UPDATE_FRAME, UPD_FRAME_PARAMS)
// high watermark.
INFO_TABLE_RET (stg_bh_upd_frame, UPDATE_FRAME, UPD_FRAME_PARAMS)
{
- jump RET_LBL(stg_marked_upd_frame);
+ jump RET_LBL(stg_marked_upd_frame) [R1];
}
+
More information about the Cvs-ghc
mailing list