src/os/bsd/dtrace/generateJvmOffsets.cpp

changeset 4942
f36e073d56a4
parent 4159
8e47bac5643a
child 6876
710a3c8b516e
equal deleted inserted replaced
4940:b8b081e53312 4942:f36e073d56a4
1 /* 1 /*
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2013, 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.
58 // These are defined somewhere for Solaris 58 // These are defined somewhere for Solaris
59 #define PR_MODEL_ILP32 1 59 #define PR_MODEL_ILP32 1
60 #define PR_MODEL_LP64 2 60 #define PR_MODEL_LP64 2
61 61
62 #ifdef COMPILER1 62 #ifdef COMPILER1
63 #if defined(DEBUG) || defined(FASTDEBUG) 63 #ifdef ASSERT
64 64
65 /* 65 /*
66 * To avoid the most part of potential link errors 66 * To avoid the most part of potential link errors
67 * we link this program with -z nodefs . 67 * we link this program with -z nodefs .
68 * 68 *
82 82
83 address StubRoutines::_call_stub_return_address = NULL; 83 address StubRoutines::_call_stub_return_address = NULL;
84 84
85 StubQueue* AbstractInterpreter::_code = NULL; 85 StubQueue* AbstractInterpreter::_code = NULL;
86 86
87 #endif /* defined(DEBUG) || defined(FASTDEBUG) */ 87 #endif /* ASSERT */
88 #endif /* COMPILER1 */ 88 #endif /* COMPILER1 */
89 89
90 #define GEN_OFFS(Type,Name) \ 90 #define GEN_OFFS(Type,Name) \
91 switch(gen_variant) { \ 91 switch(gen_variant) { \
92 case GEN_OFFSET: \ 92 case GEN_OFFSET: \

mercurial