提交 53155971 编写于 作者: S stuefe

8078628: linux-zero does not build without precompiled header

Summary: add missing includes
Reviewed-by: coleenp, stefank, sgehwolf, dholmes
上级 1ddceb6d
/* /*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc. * Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP
#define CPU_ZERO_VM_ENTRY_ZERO_HPP #define CPU_ZERO_VM_ENTRY_ZERO_HPP
#include "interpreter/cppInterpreter.hpp"
class ZeroEntry { class ZeroEntry {
public: public:
ZeroEntry() { ZeroEntry() {
......
/* /*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008 Red Hat, Inc. * Copyright 2008 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include "precompiled.hpp" #include "precompiled.hpp"
#include "assembler_zero.inline.hpp" #include "assembler_zero.inline.hpp"
#include "entry_zero.hpp"
#include "interpreter/cppInterpreter.hpp"
#include "memory/resourceArea.hpp" #include "memory/resourceArea.hpp"
#include "nativeInst_zero.hpp" #include "nativeInst_zero.hpp"
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
......
/* /*
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "oops/oop.inline.hpp" #include "oops/oop.inline.hpp"
#include "runtime/handles.inline.hpp" #include "runtime/handles.inline.hpp"
#include "runtime/arguments.hpp" #include "runtime/arguments.hpp"
#include "runtime/deoptimization.hpp"
#include "runtime/icache.hpp" #include "runtime/icache.hpp"
#include "runtime/java.hpp" #include "runtime/java.hpp"
#include "runtime/mutexLocker.hpp" #include "runtime/mutexLocker.hpp"
......
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
// of the template interpreter generator. // of the template interpreter generator.
#ifdef CC_INTERP #ifdef CC_INTERP
#ifdef TARGET_ARCH_zero
# include "entry_zero.hpp"
#endif
class CppInterpreterGenerator: public AbstractInterpreterGenerator { class CppInterpreterGenerator: public AbstractInterpreterGenerator {
protected: protected:
......
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -28,11 +28,9 @@ ...@@ -28,11 +28,9 @@
#include "code/stubs.hpp" #include "code/stubs.hpp"
#include "interpreter/cppInterpreter.hpp" #include "interpreter/cppInterpreter.hpp"
#include "interpreter/templateInterpreter.hpp" #include "interpreter/templateInterpreter.hpp"
#ifdef ZERO
#ifdef TARGET_ARCH_zero #ifdef TARGET_ARCH_zero
# include "entry_zero.hpp" # include "entry_zero.hpp"
#endif #endif
#endif
// This file contains the platform-independent parts // This file contains the platform-independent parts
// of the interpreter and the interpreter generator. // of the interpreter and the interpreter generator.
......
/* /*
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -45,11 +45,9 @@ ...@@ -45,11 +45,9 @@
# include "adfiles/adGlobals_ppc_64.hpp" # include "adfiles/adGlobals_ppc_64.hpp"
#endif #endif
#endif // COMPILER2 #endif // COMPILER2
#ifdef ZERO
#ifdef TARGET_ARCH_zero #ifdef TARGET_ARCH_zero
# include "stack_zero.hpp" # include "stack_zero.hpp"
#endif #endif
#endif
typedef class BytecodeInterpreter* interpreterState; typedef class BytecodeInterpreter* interpreterState;
......
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -46,14 +46,12 @@ ...@@ -46,14 +46,12 @@
#ifdef TARGET_ARCH_ppc #ifdef TARGET_ARCH_ppc
# include "jniTypes_ppc.hpp" # include "jniTypes_ppc.hpp"
#endif #endif
#ifdef ZERO
#ifdef TARGET_ARCH_zero #ifdef TARGET_ARCH_zero
# include "entryFrame_zero.hpp" # include "entryFrame_zero.hpp"
# include "fakeStubFrame_zero.hpp" # include "fakeStubFrame_zero.hpp"
# include "interpreterFrame_zero.hpp" # include "interpreterFrame_zero.hpp"
# include "sharkFrame_zero.hpp" # include "sharkFrame_zero.hpp"
#endif #endif
#endif
// This file holds platform-independent bodies of inline functions for frames. // This file holds platform-independent bodies of inline functions for frames.
......
...@@ -51,11 +51,9 @@ ...@@ -51,11 +51,9 @@
#include "gc_implementation/g1/dirtyCardQueue.hpp" #include "gc_implementation/g1/dirtyCardQueue.hpp"
#include "gc_implementation/g1/satbQueue.hpp" #include "gc_implementation/g1/satbQueue.hpp"
#endif // INCLUDE_ALL_GCS #endif // INCLUDE_ALL_GCS
#ifdef ZERO
#ifdef TARGET_ARCH_zero #ifdef TARGET_ARCH_zero
# include "stack_zero.hpp" # include "stack_zero.hpp"
#endif #endif
#endif
class ThreadSafepointState; class ThreadSafepointState;
class ThreadProfiler; class ThreadProfiler;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册