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 *
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
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "interpreter/bytecodes.hpp"
27 #include "memory/resourceArea.hpp"
28 #include "oops/method.hpp"
29 #include "utilities/bytes.hpp"
30
31
32 #if defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER < 1600))
33 // Windows AMD64 Compiler Hangs compiling this file
34 // unless optimization is off
35 #ifdef _M_AMD64
36 #pragma optimize ("", off)
37 #endif
38 #endif
39
40
41 bool Bytecodes::_is_initialized = false;
42 const char* Bytecodes::_name [Bytecodes::number_of_codes];
43 BasicType Bytecodes::_result_type [Bytecodes::number_of_codes];
44 s_char Bytecodes::_depth [Bytecodes::number_of_codes];
45 u_char Bytecodes::_lengths [Bytecodes::number_of_codes];
46 Bytecodes::Code Bytecodes::_java_code [Bytecodes::number_of_codes];
47 u_short Bytecodes::_flags [(1<<BitsPerByte)*2];
48
|
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 *
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
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "interpreter/bytecodes.hpp"
27 #include "memory/resourceArea.hpp"
28 #include "oops/method.hpp"
29 #include "utilities/align.hpp"
30 #include "utilities/bytes.hpp"
31
32
33 #if defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER < 1600))
34 // Windows AMD64 Compiler Hangs compiling this file
35 // unless optimization is off
36 #ifdef _M_AMD64
37 #pragma optimize ("", off)
38 #endif
39 #endif
40
41
42 bool Bytecodes::_is_initialized = false;
43 const char* Bytecodes::_name [Bytecodes::number_of_codes];
44 BasicType Bytecodes::_result_type [Bytecodes::number_of_codes];
45 s_char Bytecodes::_depth [Bytecodes::number_of_codes];
46 u_char Bytecodes::_lengths [Bytecodes::number_of_codes];
47 Bytecodes::Code Bytecodes::_java_code [Bytecodes::number_of_codes];
48 u_short Bytecodes::_flags [(1<<BitsPerByte)*2];
49
|