1 /* |
1 /* |
2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2014, 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. |
30 #include "oops/method.hpp" |
30 #include "oops/method.hpp" |
31 #include "runtime/basicLock.hpp" |
31 #include "runtime/basicLock.hpp" |
32 #include "runtime/frame.hpp" |
32 #include "runtime/frame.hpp" |
33 #include "runtime/globals.hpp" |
33 #include "runtime/globals.hpp" |
34 #include "utilities/globalDefinitions.hpp" |
34 #include "utilities/globalDefinitions.hpp" |
35 #ifdef TARGET_ARCH_x86 |
|
36 # include "bytes_x86.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_ARCH_sparc |
|
39 # include "bytes_sparc.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_ARCH_zero |
|
42 # include "bytes_zero.hpp" |
|
43 #endif |
|
44 #ifdef TARGET_ARCH_arm |
|
45 # include "bytes_arm.hpp" |
|
46 #endif |
|
47 #ifdef TARGET_ARCH_ppc |
|
48 # include "bytes_ppc.hpp" |
|
49 #endif |
|
50 |
35 |
51 #ifdef CC_INTERP |
36 #ifdef CC_INTERP |
52 |
37 |
53 // JavaStack Implementation |
38 // JavaStack Implementation |
54 #define MORE_STACK(count) \ |
39 #define MORE_STACK(count) \ |
55 (topOfStack -= ((count) * Interpreter::stackElementWords)) |
40 (topOfStack -= ((count) * Interpreter::stackElementWords)) |
56 |
41 |
57 // CVM definitions find hotspot equivalents... |
42 // CVM definitions find hotspot equivalents... |
|
43 |
|
44 class InterpreterMacroAssembler; |
58 |
45 |
59 union VMJavaVal64 { |
46 union VMJavaVal64 { |
60 jlong l; |
47 jlong l; |
61 jdouble d; |
48 jdouble d; |
62 uint32_t v[2]; |
49 uint32_t v[2]; |