equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007 Red Hat, Inc. |
3 * Copyright 2007 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #include "incls/_precompiled.incl" |
26 #include "precompiled.hpp" |
27 #include "incls/_vmreg_zero.cpp.incl" |
27 #include "asm/assembler.hpp" |
|
28 #include "code/vmreg.hpp" |
28 |
29 |
29 void VMRegImpl::set_regName() { |
30 void VMRegImpl::set_regName() { |
30 int i = 0; |
31 int i = 0; |
31 Register reg = ::as_Register(0); |
32 Register reg = ::as_Register(0); |
32 for ( ; i < ConcreteRegisterImpl::max_gpr ; ) { |
33 for ( ; i < ConcreteRegisterImpl::max_gpr ; ) { |