19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
|
25 #ifndef SHARE_VM_INTERPRETER_BYTECODES_HPP |
|
26 #define SHARE_VM_INTERPRETER_BYTECODES_HPP |
|
27 |
|
28 #include "memory/allocation.hpp" |
|
29 #include "utilities/top.hpp" |
24 |
30 |
25 // Bytecodes specifies all bytecodes used in the VM and |
31 // Bytecodes specifies all bytecodes used in the VM and |
26 // provides utility functions to get bytecode attributes. |
32 // provides utility functions to get bytecode attributes. |
27 |
33 |
28 // NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java |
34 // NOTE: replicated in SA in vm/agent/sun/jvm/hotspot/interpreter/Bytecodes.java |
277 _return_register_finalizer , |
283 _return_register_finalizer , |
278 |
284 |
279 _shouldnotreachhere, // For debugging |
285 _shouldnotreachhere, // For debugging |
280 |
286 |
281 // Platform specific JVM bytecodes |
287 // Platform specific JVM bytecodes |
282 #include "incls/_bytecodes_pd.hpp.incl" |
288 #ifdef TARGET_ARCH_x86 |
|
289 # include "bytecodes_x86.hpp" |
|
290 #endif |
|
291 #ifdef TARGET_ARCH_sparc |
|
292 # include "bytecodes_sparc.hpp" |
|
293 #endif |
|
294 #ifdef TARGET_ARCH_zero |
|
295 # include "bytecodes_zero.hpp" |
|
296 #endif |
|
297 |
283 |
298 |
284 number_of_codes |
299 number_of_codes |
285 }; |
300 }; |
286 |
301 |
287 // Flag bits derived from format strings, can_trap, can_rewrite, etc.: |
302 // Flag bits derived from format strings, can_trap, can_rewrite, etc.: |