[project @ 2005-04-25 13:17:59 by simonmar]
authorsimonmar <unknown>
Mon, 25 Apr 2005 13:17:59 +0000 (13:17 +0000)
committersimonmar <unknown>
Mon, 25 Apr 2005 13:17:59 +0000 (13:17 +0000)
stg_raise: we should by using StgThunk_payload(), not StgClosure_payload()

ghc/rts/Exception.cmm

index 1c5d47c..f8d305e 100644 (file)
@@ -311,7 +311,7 @@ catchzh_fast
 
 INFO_TABLE(stg_raise,1,0,THUNK,"raise","raise")
 {
-  R1 = StgClosure_payload(R1,0);
+  R1 = StgThunk_payload(R1,0);
   jump raisezh_fast;
 }