changeset 4141:1ae05a34e052 jdk6-b41

8078628: Zero build fails with pre-compiled headers disabled Summary: Add missing includes to make Zero builds without pre-compiled headers work Reviewed-by: omajid
author andrew
date Sun, 25 Dec 2016 23:52:13 +0000
parents 598f4f521889
children 5cec449cc409
files src/cpu/zero/vm/cppInterpreter_zero.cpp src/cpu/zero/vm/entry_zero.hpp src/cpu/zero/vm/nativeInst_zero.cpp
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Oct 14 04:36:24 2016 +0100
+++ b/src/cpu/zero/vm/cppInterpreter_zero.cpp	Sun Dec 25 23:52:13 2016 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
+ * Copyright 2016 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -36,6 +36,7 @@
 #include "oops/oop.inline.hpp"
 #include "prims/jvmtiExport.hpp"
 #include "prims/jvmtiThreadState.hpp"
+#include "prims/methodHandles.hpp"
 #include "runtime/arguments.hpp"
 #include "runtime/deoptimization.hpp"
 #include "runtime/frame.inline.hpp"
--- a/src/cpu/zero/vm/entry_zero.hpp	Fri Oct 14 04:36:24 2016 +0100
+++ b/src/cpu/zero/vm/entry_zero.hpp	Sun Dec 25 23:52:13 2016 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2008, 2009, 2010 Red Hat, Inc.
+ * Copyright 2016 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,8 @@
 #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP
 #define CPU_ZERO_VM_ENTRY_ZERO_HPP
 
+#include "interpreter/cppInterpreter.hpp"
+
 class ZeroEntry {
  public:
   ZeroEntry() {
--- a/src/cpu/zero/vm/nativeInst_zero.cpp	Fri Oct 14 04:36:24 2016 +0100
+++ b/src/cpu/zero/vm/nativeInst_zero.cpp	Sun Dec 25 23:52:13 2016 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2008 Red Hat, Inc.
+ * Copyright 2016 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,7 @@
 
 #include "precompiled.hpp"
 #include "assembler_zero.inline.hpp"
+#include "entry_zero.hpp"
 #include "memory/resourceArea.hpp"
 #include "nativeInst_zero.hpp"
 #include "oops/oop.inline.hpp"