/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Further, this software is distributed without any warranty that it is free of the rightful claim of any third person regarding infringement or the like. Any license provided herein, whether implied or otherwise, applies only to this software file. Patent licenses, if any, provided herein do not apply to combinations of this program with other software, or any other product whatsoever. You should have received a copy of the GNU General Public License along with this program; if not, write the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, Mountain View, CA 94043, or: http://www.sgi.com For further information regarding this notice, see: http://oss.sgi.com/projects/GenInfo/NoticeExplan */ #ifndef erirb_INCLUDED #define erirb_INCLUDED #ifdef __cplusplus extern "C" { #endif /* ==================================================================== * ==================================================================== * * Module: erirb.h * $Revision: 1.1 $ * $Date: 2001/10/30 16:59:45 $ * $Author: ciancu $ * $Source: bitbucket.org:berkeleylab/upc-translator.git/open64/osprey1.0/common/com/erirb.h $ * * Revision history: * 23-Jun-89 - Original Version * 12-Jun-91 - Integrated from Josie * * Description: * * IR Builder error code definitions. * * ==================================================================== * ==================================================================== */ #ifdef _KEEP_RCS_ID static char *erirb_rcs_id = "$Source: bitbucket.org:berkeleylab/upc-translator.git/open64/osprey1.0/common/com/erirb.h $ $Revision: 1.1 $"; #endif /* _KEEP_RCS_ID */ /* Include errors.h for the benefit of any users: */ #include "errors.h" /* Define the initial error code to use: */ #define EC_IRB_Start (EP_IR_BUILDER)*1000 /* General irb error codes: */ #define EC_Irb_Internal EC_IRB_Start /* str */ /* irbmain error codes: */ #define EC_No_ASSIGN EC_IRB_Start+1 /* str */ /* irbmem error codes: */ #define EC_Array_OOB EC_IRB_Start+11 /* sym */ #define EC_Bad_Formal EC_IRB_Start+12 /* sym */ #define EC_Addr_Formal EC_IRB_Start+13 /* sym */ #define EC_Null_Base EC_IRB_Start+14 /* tree, tree */ #define EC_Invalid_Addr EC_IRB_Start+15 /* str */ #define EC_Var_TN EC_IRB_Start+16 /* tn, str */ #define EC_Bad_Const EC_IRB_Start+17 /* int, str */ #define EC_Mult_Defer EC_IRB_Start+18 /* sym, tree */ #define EC_Abs_Addr EC_IRB_Start+19 /* tree, tree, str */ #define EC_Load_Opnds EC_IRB_Start+20 /* int, str, str */ /* irbcall/callutil error codes: */ #define EC_Return_Style EC_IRB_Start+31 /* int, str */ #define EC_Need_Value EC_IRB_Start+32 /* str */ #define EC_Inv_Actual EC_IRB_Start+33 /* node, int */ #define EC_Mem_Actual EC_IRB_Start+34 /* int, int */ #define EC_No_Einfo EC_IRB_Start+35 /* tree */ #define EC_Not_Entry EC_IRB_Start+37 /* sym, sym */ #define EC_Flt_Varargs1 EC_IRB_Start+38 /* str */ #define EC_Flt_Varargs2 EC_IRB_Start+39 /* str */ /* irbexec error codes: */ #define EC_Agt_Uninit EC_IRB_Start+41 /* sym */ /* irbdo error codes: */ #define EC_Inv_GOTO EC_IRB_Start+51 /* int, sym */ /* irbexpr error codes: */ #define EC_Inv_Field_At EC_IRB_Start+61 /* int, int, int */ #define EC_Inv_Alloca_Size EC_IRB_Start+62 /* int64 */ #define EC_Zero_Alloca_Size EC_IRB_Start+63 /* none */ #define EC_Inv_TAS_Size EC_IRB_Start+64 /* nd, int, nd, int, str */ #define EC_TAS_Nonload EC_IRB_Start+65 /* nd, nd, tn */ /* Memory model errors: */ #define EC_Ill_TDT_Seg EC_IRB_Start+80 /* int, stab */ #define EC_Large_Temp EC_IRB_Start+81 /* int, stab */ #define EC_Ill_Stack_Base EC_IRB_Start+82 /* stab, stab */ #define EC_Huge_Frame EC_IRB_Start+83 /* int, int */ #define EC_Huge_Frame2 EC_IRB_Start+84 /* none */ #define EC_Not_Sorted EC_IRB_Start+85 /* str */ #define EC_Pop_Scope EC_IRB_Start+86 /* none */ #define EC_Ill_Frame_Seg EC_IRB_Start+87 /* int, str */ #define EC_Ill_Stack_Model EC_IRB_Start+88 /* int, str */ #define EC_Sym_Removal EC_IRB_Start+89 /* stab, str */ #define EC_Gnum_Range EC_IRB_Start+90 /* str */ #ifdef __cplusplus } #endif #endif /* erirb_INCLUDED */