18 * |
18 * |
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 */ |
|
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
23 */ |
29 */ |
24 |
30 |
25 // MAIN.CPP - Entry point for the Architecture Description Language Compiler |
31 // MAIN.CPP - Entry point for the Architecture Description Language Compiler |
26 #include "adlc.hpp" |
32 #include "adlc.hpp" |
27 |
33 |
232 AD.addInclude(AD._CPP_file, "runtime/stubRoutines.hpp"); |
238 AD.addInclude(AD._CPP_file, "runtime/stubRoutines.hpp"); |
233 AD.addInclude(AD._CPP_file, "utilities/growableArray.hpp"); |
239 AD.addInclude(AD._CPP_file, "utilities/growableArray.hpp"); |
234 #ifdef TARGET_ARCH_x86 |
240 #ifdef TARGET_ARCH_x86 |
235 AD.addInclude(AD._CPP_file, "nativeInst_x86.hpp"); |
241 AD.addInclude(AD._CPP_file, "nativeInst_x86.hpp"); |
236 AD.addInclude(AD._CPP_file, "vmreg_x86.inline.hpp"); |
242 AD.addInclude(AD._CPP_file, "vmreg_x86.inline.hpp"); |
|
243 #endif |
|
244 #ifdef TARGET_ARCH_mips |
|
245 AD.addInclude(AD._CPP_file, "nativeInst_mips.hpp"); |
|
246 AD.addInclude(AD._CPP_file, "vmreg_mips.inline.hpp"); |
237 #endif |
247 #endif |
238 #ifdef TARGET_ARCH_sparc |
248 #ifdef TARGET_ARCH_sparc |
239 AD.addInclude(AD._CPP_file, "nativeInst_sparc.hpp"); |
249 AD.addInclude(AD._CPP_file, "nativeInst_sparc.hpp"); |
240 AD.addInclude(AD._CPP_file, "vmreg_sparc.inline.hpp"); |
250 AD.addInclude(AD._CPP_file, "vmreg_sparc.inline.hpp"); |
241 #endif |
251 #endif |