Mercurial > hg > graal-compiler
annotate src/cpu/x86/vm/interpreterGenerator_x86.hpp @ 11511:3110bea9a6b0
mx: add helper method for yes/no question
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 02 Sep 2013 11:40:24 +0200 |
parents | 6b0fd0964b87 |
children | 4062efea018b |
rev | line source |
---|---|
0 | 1 /* |
11080
b800986664f4
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents:
6842
diff
changeset
|
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
0 | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | |
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 | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * This code is distributed in the hope that it will be useful, but WITHOUT | |
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 * version 2 for more details (a copy is included in the LICENSE file that | |
13 * accompanied this code). | |
14 * | |
15 * You should have received a copy of the GNU General Public License version | |
16 * 2 along with this work; if not, write to the Free Software Foundation, | |
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
710
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
710
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
710
diff
changeset
|
21 * questions. |
0 | 22 * |
23 */ | |
24 | |
1972 | 25 #ifndef CPU_X86_VM_INTERPRETERGENERATOR_X86_HPP |
26 #define CPU_X86_VM_INTERPRETERGENERATOR_X86_HPP | |
27 | |
0 | 28 |
29 // Generation of Interpreter | |
30 // | |
31 friend class AbstractInterpreterGenerator; | |
32 | |
8328
6b6cbd8b8914
Support deoptimizing before the entry to a synchronized method.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6842
diff
changeset
|
33 address generate_deopt_entry_for(TosState state, int step); |
6b6cbd8b8914
Support deoptimizing before the entry to a synchronized method.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
6842
diff
changeset
|
34 |
0 | 35 private: |
36 | |
37 address generate_normal_entry(bool synchronized); | |
38 address generate_native_entry(bool synchronized); | |
9046
c6a1ffc707ff
Comments and #ifdef GRAAL for recent changes to C++ code for calling nmethods directly.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9025
diff
changeset
|
39 #ifdef GRAAL |
9025
ff5a32117e02
Implement fast invocation of installed code (direct tail call to the target machine code address).
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
8328
diff
changeset
|
40 address generate_execute_compiled_method_entry(); |
9046
c6a1ffc707ff
Comments and #ifdef GRAAL for recent changes to C++ code for calling nmethods directly.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9025
diff
changeset
|
41 #endif |
0 | 42 address generate_abstract_entry(void); |
43 address generate_math_entry(AbstractInterpreter::MethodKind kind); | |
44 address generate_empty_entry(void); | |
45 address generate_accessor_entry(void); | |
3249
e1162778c1c8
7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
johnc
parents:
1972
diff
changeset
|
46 address generate_Reference_get_entry(); |
11080
b800986664f4
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents:
6842
diff
changeset
|
47 address generate_CRC32_update_entry(); |
b800986664f4
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents:
6842
diff
changeset
|
48 address generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind); |
0 | 49 void lock_method(void); |
50 void generate_stack_overflow_check(void); | |
51 | |
52 void generate_counter_incr(Label* overflow, Label* profile_method, Label* profile_method_continue); | |
53 void generate_counter_overflow(Label* do_continue); | |
1972 | 54 |
55 #endif // CPU_X86_VM_INTERPRETERGENERATOR_X86_HPP |