comparison src/share/vm/utilities/macros.hpp @ 2321:1b4e6a5d98e0

7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc Reviewed-by: never, bdelsart
author twisti
date Mon, 28 Feb 2011 06:07:12 -0800
parents bf8517f4e4d0
children f08d439fab8c
comparison
equal deleted inserted replaced
2320:41d4973cf100 2321:1b4e6a5d98e0
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, 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.
159 #else 159 #else
160 #define WINDOWS_ONLY(code) 160 #define WINDOWS_ONLY(code)
161 #define NOT_WINDOWS(code) code 161 #define NOT_WINDOWS(code) code
162 #endif 162 #endif
163 163
164 #ifdef _WIN64
165 #define WIN64_ONLY(code) code
166 #define NOT_WIN64(code)
167 #else
168 #define WIN64_ONLY(code)
169 #define NOT_WIN64(code) code
170 #endif
171
164 #if defined(IA32) || defined(AMD64) 172 #if defined(IA32) || defined(AMD64)
165 #define X86 173 #define X86
166 #define X86_ONLY(code) code 174 #define X86_ONLY(code) code
167 #define NOT_X86(code) 175 #define NOT_X86(code)
168 #else 176 #else