--- old/src/share/vm/interpreter/linkResolver.hpp 2010-11-16 18:13:57.000000000 +0100 +++ new/src/share/vm/interpreter/linkResolver.hpp 2010-11-16 18:13:56.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,6 +22,12 @@ * */ +#ifndef SHARE_VM_INTERPRETER_LINKRESOLVER_HPP +#define SHARE_VM_INTERPRETER_LINKRESOLVER_HPP + +#include "oops/methodOop.hpp" +#include "utilities/top.hpp" + // All the necessary definitions for run-time link resolution. // LinkInfo & its subclasses provide all the information gathered @@ -174,3 +180,5 @@ static void resolve_invoke (CallInfo& result, Handle recv, constantPoolHandle pool, int index, Bytecodes::Code byte, TRAPS); }; + +#endif // SHARE_VM_INTERPRETER_LINKRESOLVER_HPP