fis-gtm/sr_port/op_shareslot.c

44 lines
1.1 KiB
C

/****************************************************************
* *
* Copyright 2012 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include "lv_val.h"
#include "toktyp.h"
#include "compiler.h"
#include "opcode.h"
#include "indir_enum.h"
#include "cache.h"
#include "op.h"
#include <rtnhdr.h>
#include "valid_mname.h"
#include "gtm_string.h"
#include "cachectl.h"
#include "gtm_text_alloc.h"
#include "callg.h"
#include "mdq.h"
#include "stack_frame.h"
#include "stringpool.h"
#include "mv_stent.h"
#include "min_max.h"
#include "glvn_pool.h"
void op_shareslot(uint4 indx, opctype opcode)
{
glvn_pool_entry *slot;
DCL_THREADGBL_ACCESS;
SETUP_THREADGBL_ACCESS;
(TREF(glvn_pool_ptr))->share_slot = indx;
slot = &(TREF(glvn_pool_ptr))->slot[indx];
slot->sav_opcode = opcode;
}