# HG changeset patch # User andrew # Date 1482709933 0 # Node ID 1ae05a34e052d1672b4a7894ddf5fc2f662eb861 # Parent 598f4f521889aadf7abccaf0634e9cd0d8b75599 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 diff -r 598f4f521889 -r 1ae05a34e052 src/cpu/zero/vm/cppInterpreter_zero.cpp --- 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" diff -r 598f4f521889 -r 1ae05a34e052 src/cpu/zero/vm/entry_zero.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() { diff -r 598f4f521889 -r 1ae05a34e052 src/cpu/zero/vm/nativeInst_zero.cpp --- 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"