aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/c1/c1_ValueType.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/c1/c1_ValueType.hpp')
-rw-r--r--src/share/vm/c1/c1_ValueType.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/share/vm/c1/c1_ValueType.hpp b/src/share/vm/c1/c1_ValueType.hpp
index 3098114cf..d82eae607 100644
--- a/src/share/vm/c1/c1_ValueType.hpp
+++ b/src/share/vm/c1/c1_ValueType.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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_C1_C1_VALUETYPE_HPP
+#define SHARE_VM_C1_C1_VALUETYPE_HPP
+
+#include "c1/c1_Compilation.hpp"
+#include "ci/ciConstant.hpp"
+
// type hierarchy
class ValueType;
class VoidType;
@@ -419,3 +425,5 @@ ValueType* as_ValueType(ciConstant value);
BasicType as_BasicType(ValueType* type);
inline ValueType* as_ValueType(ciType* type) { return as_ValueType(type->basic_type()); }
+
+#endif // SHARE_VM_C1_C1_VALUETYPE_HPP