--- old/src/share/vm/shark/sharkInliner.hpp 2010-11-10 13:21:01.000000000 +0100 +++ new/src/share/vm/shark/sharkInliner.hpp 2010-11-10 13:21:01.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2009 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -23,6 +23,14 @@ * */ +#ifndef SHARE_VM_SHARK_SHARKINLINER_HPP +#define SHARE_VM_SHARK_SHARKINLINER_HPP + +#include "ci/ciMethod.hpp" +#include "memory/allocation.hpp" +#include "shark/llvmHeaders.hpp" +#include "shark/sharkState.hpp" + class SharkInliner : public AllStatic { public: static bool attempt_inline(ciMethod* target, SharkState* state); @@ -30,3 +38,5 @@ private: static bool may_be_inlinable(ciMethod* target); }; + +#endif // SHARE_VM_SHARK_SHARKINLINER_HPP