1.1 --- a/src/share/vm/opto/regalloc.hpp Sat Sep 10 17:29:02 2011 -0700 1.2 +++ b/src/share/vm/opto/regalloc.hpp Sun Sep 11 14:48:24 2011 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2000, 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 @@ -39,6 +39,7 @@ 1.11 //------------------------------PhaseRegAlloc------------------------------------ 1.12 // Abstract register allocator 1.13 class PhaseRegAlloc : public Phase { 1.14 + friend class VMStructs; 1.15 static void (*_alloc_statistics[MAX_REG_ALLOCATORS])(); 1.16 static int _num_allocators; 1.17