--- old/src/share/vm/shark/sharkContext.hpp 2010-11-10 13:20:57.000000000 +0100 +++ new/src/share/vm/shark/sharkContext.hpp 2010-11-10 13:20:56.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, 2010 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -23,6 +23,12 @@ * */ +#ifndef SHARE_VM_SHARK_SHARKCONTEXT_HPP +#define SHARE_VM_SHARK_SHARKCONTEXT_HPP + +#include "shark/llvmHeaders.hpp" +#include "shark/sharkCompiler.hpp" + // The LLVMContext class allows multiple instances of LLVM to operate // independently of each other in a multithreaded context. We extend // this here to store things in Shark that are LLVMContext-specific. @@ -185,3 +191,5 @@ void push_to_free_queue(llvm::Function* function); llvm::Function* pop_from_free_queue(); }; + +#endif // SHARE_VM_SHARK_SHARKCONTEXT_HPP