1.1 --- a/src/share/vm/opto/callnode.hpp Sat Sep 10 17:29:02 2011 -0700 1.2 +++ b/src/share/vm/opto/callnode.hpp Sun Sep 11 14:48:24 2011 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -187,6 +187,7 @@ 1.11 // This provides a way to map the optimized program back into the interpreter, 1.12 // or to let the GC mark the stack. 1.13 class JVMState : public ResourceObj { 1.14 + friend class VMStructs; 1.15 public: 1.16 typedef enum { 1.17 Reexecute_Undefined = -1, // not defined -- will be translated into false later 1.18 @@ -500,6 +501,7 @@ 1.19 // Call nodes now subsume the function of debug nodes at callsites, so they 1.20 // contain the functionality of a full scope chain of debug nodes. 1.21 class CallNode : public SafePointNode { 1.22 + friend class VMStructs; 1.23 public: 1.24 const TypeFunc *_tf; // Function type 1.25 address _entry_point; // Address of method being called 1.26 @@ -565,6 +567,7 @@ 1.27 // convention. (The "Java" calling convention is the compiler's calling 1.28 // convention, as opposed to the interpreter's or that of native C.) 1.29 class CallJavaNode : public CallNode { 1.30 + friend class VMStructs; 1.31 protected: 1.32 virtual uint cmp( const Node &n ) const; 1.33 virtual uint size_of() const; // Size is bigger