register_zero.cpp revision 5776:de6a9e811145
1323134Sdes/*
276259Sgreen * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
376259Sgreen * Copyright 2007 Red Hat, Inc.
476259Sgreen * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
576259Sgreen *
676259Sgreen * This code is free software; you can redistribute it and/or modify it
776259Sgreen * under the terms of the GNU General Public License version 2 only, as
876259Sgreen * published by the Free Software Foundation.
976259Sgreen *
1076259Sgreen * This code is distributed in the hope that it will be useful, but WITHOUT
1176259Sgreen * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1276259Sgreen * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1376259Sgreen * version 2 for more details (a copy is included in the LICENSE file that
1476259Sgreen * accompanied this code).
15162852Sdes *
16162852Sdes * You should have received a copy of the GNU General Public License version
17162852Sdes * 2 along with this work; if not, write to the Free Software Foundation,
18323134Sdes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19323134Sdes *
20294328Sdes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21294328Sdes * or visit www.oracle.com if you need additional information or have any
22294328Sdes * questions.
23294328Sdes *
24294328Sdes */
25294328Sdes
26294328Sdes#include "precompiled.hpp"
27294328Sdes#include "register_zero.hpp"
28294328Sdes
29294328Sdesconst int ConcreteRegisterImpl::max_gpr = RegisterImpl::number_of_registers;
30294328Sdesconst int ConcreteRegisterImpl::max_fpr =
31294328Sdes  ConcreteRegisterImpl::max_gpr + FloatRegisterImpl::number_of_registers;
32323129Sdes
33323134Sdesconst char* RegisterImpl::name() const {
34323134Sdes  ShouldNotCallThis();
35323129Sdes  return NULL;
36294328Sdes}
37294328Sdes
38294328Sdesconst char* FloatRegisterImpl::name() const {
39294328Sdes  ShouldNotCallThis();
40294328Sdes  return NULL;
41294328Sdes}
42294328Sdes