src/share/vm/opto/rootnode.hpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2005, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -20,10 +20,15 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+#ifndef SHARE_VM_OPTO_ROOTNODE_HPP
+#define SHARE_VM_OPTO_ROOTNODE_HPP
+
+#include "opto/loopnode.hpp"
+
//------------------------------RootNode---------------------------------------
// The one-and-only before-all-else and after-all-else RootNode. The RootNode
// represents what happens if the user runs the whole program repeatedly. The
// RootNode produces the initial values of I/O and memory for the program or
// procedure start.
@@ -58,5 +63,7 @@
virtual const Node *is_block_proj() const { return this; }
virtual const RegMask &out_RegMask() const;
virtual uint ideal_reg() const { return NotAMachineReg; }
virtual uint match_edge(uint idx) const { return 0; }
};
+
+#endif // SHARE_VM_OPTO_ROOTNODE_HPP