opcodes.cpp revision 0:a61af66fc99e
150276Speter/*
2262629Sdelphij * Copyright 1998-2003 Sun Microsystems, Inc.  All Rights Reserved.
350276Speter * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
450276Speter *
550276Speter * This code is free software; you can redistribute it and/or modify it
650276Speter * under the terms of the GNU General Public License version 2 only, as
750276Speter * published by the Free Software Foundation.
850276Speter *
950276Speter * This code is distributed in the hope that it will be useful, but WITHOUT
1050276Speter * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1150276Speter * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1250276Speter * version 2 for more details (a copy is included in the LICENSE file that
1350276Speter * accompanied this code).
1450276Speter *
1550276Speter * You should have received a copy of the GNU General Public License version
1650276Speter * 2 along with this work; if not, write to the Free Software Foundation,
1750276Speter * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1850276Speter *
1950276Speter * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2050276Speter * CA 95054 USA or visit www.sun.com if you need additional information or
2150276Speter * have any questions.
2250276Speter *
2350276Speter */
2450276Speter
2550276Speter// ----------------------------------------------------------------------------
2650276Speter// Build a table of class names as strings.  Used both for debugging printouts
2750276Speter// and in the ADL machine descriptions.
2850276Speter#define macro(x) #x,
2950276Speterconst char *NodeClassNames[] = {
3050276Speter  "Node",
3150276Speter  "Set",
3250276Speter  "RegI",
3350276Speter  "RegP",
3450276Speter  "RegF",
3550276Speter  "RegD",
3650276Speter  "RegL",
3750276Speter  "RegFlags",
3850276Speter  "_last_machine_leaf",
3950276Speter#include "classes.hpp"
4050276Speter  "_last_class_name",
4150276Speter};
4250276Speter#undef macro
43262629Sdelphij