src/share/vm/opto/adlcVMDeps.hpp

changeset 2314
f95d63e2154a
parent 1907
c18cbe5936b8
child 6876
710a3c8b516e
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef SHARE_VM_OPTO_ADLCVMDEPS_HPP
26 #define SHARE_VM_OPTO_ADLCVMDEPS_HPP
27
28 // adlcVMDeps.hpp is used by both adlc and vm builds.
29 // Only include allocation.hpp when we're not building adlc.
30 #ifndef SHARE_VM_ADLC_ARENA_HPP
31 #include "memory/allocation.hpp"
32 #endif
33
25 // Declare commonly known constant and data structures between the 34 // Declare commonly known constant and data structures between the
26 // ADLC and the VM 35 // ADLC and the VM
27 // 36 //
28 37
29 class AdlcVMDeps : public AllStatic { 38 class AdlcVMDeps : public AllStatic {
40 49
41 // relocInfo 50 // relocInfo
42 static const char* oop_reloc_type() { return "relocInfo::oop_type"; } 51 static const char* oop_reloc_type() { return "relocInfo::oop_type"; }
43 static const char* none_reloc_type() { return "relocInfo::none"; } 52 static const char* none_reloc_type() { return "relocInfo::none"; }
44 }; 53 };
54
55 #endif // SHARE_VM_OPTO_ADLCVMDEPS_HPP

mercurial