aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/code/location.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/code/location.hpp')
-rw-r--r--src/share/vm/code/location.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/share/vm/code/location.hpp b/src/share/vm/code/location.hpp
index 18134adb6..86155b9e4 100644
--- a/src/share/vm/code/location.hpp
+++ b/src/share/vm/code/location.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2008, 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,13 @@
*
*/
+#ifndef SHARE_VM_CODE_LOCATION_HPP
+#define SHARE_VM_CODE_LOCATION_HPP
+
+#include "asm/assembler.hpp"
+#include "code/vmreg.hpp"
+#include "memory/allocation.hpp"
+
// A Location describes a concrete machine variable location
// (such as integer or floating point register or a stack-held
// variable). Used when generating debug-information for nmethods.
@@ -113,3 +120,5 @@ class Location VALUE_OBJ_CLASS_SPEC {
// check
static bool legal_offset_in_bytes(int offset_in_bytes);
};
+
+#endif // SHARE_VM_CODE_LOCATION_HPP