Mercurial > hg > truffle
annotate src/cpu/zero/vm/bytecodeInterpreter_zero.cpp @ 12475:7022b22647ed
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 17 Oct 2013 15:58:41 +0200 |
parents | da91efe96a93 |
children |
rev | line source |
---|---|
1010 | 1 /* |
6725
da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
1972
diff
changeset
|
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
1010 | 3 * Copyright 2008 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
5 * | |
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 | |
8 * published by the Free Software Foundation. | |
9 * | |
10 * This code is distributed in the hope that it will be useful, but WITHOUT | |
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 * version 2 for more details (a copy is included in the LICENSE file that | |
14 * accompanied this code). | |
15 * | |
16 * You should have received a copy of the GNU General Public License version | |
17 * 2 along with this work; if not, write to the Free Software Foundation, | |
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1010
diff
changeset
|
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1010
diff
changeset
|
21 * or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1010
diff
changeset
|
22 * questions. |
1010 | 23 * |
24 */ | |
25 | |
1972 | 26 #include "precompiled.hpp" |
27 #include "asm/assembler.hpp" | |
28 #include "interp_masm_zero.hpp" | |
29 #include "interpreter/bytecodeInterpreter.hpp" | |
30 #include "interpreter/bytecodeInterpreter.inline.hpp" | |
31 #include "interpreter/interpreter.hpp" | |
32 #include "interpreter/interpreterRuntime.hpp" | |
6725
da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
1972
diff
changeset
|
33 #include "oops/methodData.hpp" |
da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
1972
diff
changeset
|
34 #include "oops/method.hpp" |
1972 | 35 #include "oops/oop.inline.hpp" |
36 #include "prims/jvmtiExport.hpp" | |
37 #include "prims/jvmtiThreadState.hpp" | |
38 #include "runtime/deoptimization.hpp" | |
39 #include "runtime/frame.inline.hpp" | |
40 #include "runtime/sharedRuntime.hpp" | |
41 #include "runtime/stubRoutines.hpp" | |
42 #include "runtime/synchronizer.hpp" | |
43 #include "runtime/vframeArray.hpp" | |
44 #include "utilities/debug.hpp" | |
1010 | 45 |
46 #ifdef CC_INTERP | |
47 | |
48 const char *BytecodeInterpreter::name_of_field_at_address(address addr) { | |
49 #define DO(member) {if (addr == (address) &(member)) return XSTR(member);} | |
50 DO(_thread); | |
51 DO(_bcp); | |
52 DO(_locals); | |
53 DO(_constants); | |
54 DO(_method); | |
55 DO(_mdx); | |
56 DO(_stack); | |
57 DO(_msg); | |
58 DO(_result); | |
59 DO(_prev_link); | |
60 DO(_oop_temp); | |
61 DO(_stack_base); | |
62 DO(_stack_limit); | |
63 DO(_monitor_base); | |
64 DO(_self_link); | |
65 #undef DO | |
66 if (addr > (address) &_result && addr < (address) (&_result + 1)) | |
67 return "_result)"; | |
68 return NULL; | |
69 } | |
70 | |
71 #endif // CC_INTERP |