6983073: fix compiler error with GCC 4.4 or newer on SPARC
Reviewed-by: twisti
Contributed-by: Matthias Klose <doko@ubuntu.com>
--- a/hotspot/src/cpu/sparc/vm/frame_sparc.hpp Tue Sep 07 14:16:50 2010 -0700
+++ b/hotspot/src/cpu/sparc/vm/frame_sparc.hpp Wed Sep 08 04:50:26 2010 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2006, 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
@@ -263,8 +263,7 @@
};
private:
-
- constantPoolCacheOop* frame::interpreter_frame_cpoolcache_addr() const;
+ constantPoolCacheOop* interpreter_frame_cpoolcache_addr() const;
#ifndef CC_INTERP