src/share/vm/shark/sharkRuntime.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright 2008, 2009, 2010 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 * under the terms of the GNU General Public License version 2 only, as --- 1,7 ---- /* ! * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2008, 2009, 2010 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 * under the terms of the GNU General Public License version 2 only, as
*** 21,30 **** --- 21,39 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_SHARK_SHARKRUNTIME_HPP + #define SHARE_VM_SHARK_SHARKRUNTIME_HPP + + #include "memory/allocation.hpp" + #include "oops/klassOop.hpp" + #include "runtime/thread.hpp" + #include "shark/llvmHeaders.hpp" + #include "shark/llvmValue.hpp" + class SharkRuntime : public AllStatic { // VM calls public: static int find_exception_handler(JavaThread* thread, int* indexes,
*** 79,83 **** --- 88,94 ---- public: static void dump(const char *name, intptr_t value); static bool is_subtype_of(klassOop check_klass, klassOop object_klass); static int uncommon_trap(JavaThread* thread, int trap_request); }; + + #endif // SHARE_VM_SHARK_SHARKRUNTIME_HPP