Commit 2029b603 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-03-26 13:43:05 by simonmar]

oops, STABLE_NAME_info is stg_STABLE_NAME_info in the HEAD.
parent 4d751533
/* -----------------------------------------------------------------------------
* $Id: PrimOps.hc,v 1.77 2001/03/26 13:31:46 simonmar Exp $
* $Id: PrimOps.hc,v 1.78 2001/03/26 13:43:05 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
......@@ -1084,7 +1084,7 @@ FN_(makeStableNamezh_fast)
/* Is there already a StableName for this heap object? */
if (stable_ptr_table[index].sn_obj == NULL) {
sn_obj = (StgStableName *) (Hp - sizeofW(StgStableName) + 1);
SET_HDR(sn_obj,&STABLE_NAME_info,CCCS);
SET_HDR(sn_obj,&stg_STABLE_NAME_info,CCCS);
sn_obj->sn = index;
stable_ptr_table[index].sn_obj = (StgClosure *)sn_obj;
} else {
......
Supports Markdown
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