classes.cpp revision 5776:de6a9e811145
1176572Skmacy/*
2176572Skmacy * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3176572Skmacy * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4176572Skmacy *
5176572Skmacy * This code is free software; you can redistribute it and/or modify it
6176572Skmacy * under the terms of the GNU General Public License version 2 only, as
7176572Skmacy * published by the Free Software Foundation.
8176572Skmacy *
9176572Skmacy * This code is distributed in the hope that it will be useful, but WITHOUT
10176572Skmacy * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11176572Skmacy * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12176572Skmacy * version 2 for more details (a copy is included in the LICENSE file that
13183292Skmacy * accompanied this code).
14183292Skmacy *
15183292Skmacy * You should have received a copy of the GNU General Public License version
16189643Sgnn * 2 along with this work; if not, write to the Free Software Foundation,
17189643Sgnn * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18176572Skmacy *
19176572Skmacy * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20176572Skmacy * or visit www.oracle.com if you need additional information or have any
21176572Skmacy * questions.
22176572Skmacy *
23176572Skmacy */
24176572Skmacy
25176572Skmacy#include "precompiled.hpp"
26176572Skmacy#include "opto/addnode.hpp"
27176572Skmacy#include "opto/callnode.hpp"
28176572Skmacy#include "opto/cfgnode.hpp"
29176572Skmacy#include "opto/connode.hpp"
30176572Skmacy#include "opto/divnode.hpp"
31176572Skmacy#include "opto/locknode.hpp"
32176572Skmacy#include "opto/loopnode.hpp"
33176572Skmacy#include "opto/machnode.hpp"
34176572Skmacy#include "opto/memnode.hpp"
35176572Skmacy#include "opto/mathexactnode.hpp"
36176572Skmacy#include "opto/mulnode.hpp"
37176572Skmacy#include "opto/multnode.hpp"
38176572Skmacy#include "opto/node.hpp"
39176572Skmacy#include "opto/rootnode.hpp"
40176572Skmacy#include "opto/subnode.hpp"
41176572Skmacy#include "opto/vectornode.hpp"
42176572Skmacy
43176572Skmacy// ----------------------------------------------------------------------------
44176572Skmacy// Build a table of virtual functions to map from Nodes to dense integer
45176572Skmacy// opcode names.
46241394Skevloint Node::Opcode() const { return Op_Node; }
47176572Skmacy#define macro(x) int x##Node::Opcode() const { return Op_##x; }
48176572Skmacy#include "classes.hpp"
49176572Skmacy#undef macro
50176572Skmacy