aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/shark/sharkInliner.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/shark/sharkInliner.hpp')
-rw-r--r--src/share/vm/shark/sharkInliner.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/share/vm/shark/sharkInliner.hpp b/src/share/vm/shark/sharkInliner.hpp
index ee37eb715..c68392966 100644
--- a/src/share/vm/shark/sharkInliner.hpp
+++ b/src/share/vm/shark/sharkInliner.hpp
@@ -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 @@ class SharkInliner : public AllStatic {
private:
static bool may_be_inlinable(ciMethod* target);
};
+
+#endif // SHARE_VM_SHARK_SHARKINLINER_HPP