mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files. Reviewed-by: dholmes, coleenp, kbarrett
This commit is contained in:
parent
e757151666
commit
da3339948e
116 changed files with 427 additions and 1876 deletions
|
@ -35,24 +35,7 @@
|
|||
#include "runtime/os.hpp"
|
||||
#include "runtime/stubCodeGenerator.hpp"
|
||||
#include "runtime/stubRoutines.hpp"
|
||||
#ifdef TARGET_ARCH_x86
|
||||
# include "depChecker_x86.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_sparc
|
||||
# include "depChecker_sparc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_zero
|
||||
# include "depChecker_zero.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "depChecker_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "depChecker_ppc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_aarch64
|
||||
# include "depChecker_aarch64.hpp"
|
||||
#endif
|
||||
#include CPU_HEADER(depChecker)
|
||||
#ifdef SHARK
|
||||
#include "shark/sharkEntry.hpp"
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "asm/codeBuffer.hpp"
|
||||
#include "runtime/globals.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
|
||||
class decode_env;
|
||||
|
||||
|
@ -63,25 +64,7 @@ class Disassembler {
|
|||
static bool load_library();
|
||||
|
||||
// Machine dependent stuff
|
||||
#ifdef TARGET_ARCH_x86
|
||||
# include "disassembler_x86.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_sparc
|
||||
# include "disassembler_sparc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_zero
|
||||
# include "disassembler_zero.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "disassembler_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "disassembler_ppc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_aarch64
|
||||
# include "disassembler_aarch64.hpp"
|
||||
#endif
|
||||
|
||||
#include CPU_HEADER(disassembler)
|
||||
|
||||
public:
|
||||
static bool can_decode() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue