Commit 51e758f4 authored by simonmar's avatar simonmar
Browse files

[project @ 2006-01-03 12:57:10 by simonmar]

sanity bugfix: use TSO_OFFSET_stack instead of OFFSET_stack
parent ce9d03fa
...@@ -46,7 +46,7 @@ INFO_TABLE_RET( stg_ap_0, ...@@ -46,7 +46,7 @@ INFO_TABLE_RET( stg_ap_0,
IF_DEBUG(sanity, IF_DEBUG(sanity,
foreign "C" checkStackChunk(Sp+WDS(1) "ptr", foreign "C" checkStackChunk(Sp+WDS(1) "ptr",
CurrentTSO + OFFSET_StgTSO_stack + CurrentTSO + TSO_OFFSET_StgTSO_stack +
WDS(StgTSO_stack_size(CurrentTSO)) "ptr") [R1]); WDS(StgTSO_stack_size(CurrentTSO)) "ptr") [R1]);
Sp_adj(1); Sp_adj(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment