Mercurial > hg > release > icedtea7-2.6
changeset 2020:4442abcf2ff5
2009-09-04 Gary Benson <gbenson@redhat.com>
* ports/hotspot/src/share/vm/shark/sharkCompiler.cpp
(SharkCompiler::compile_method): Updated cast.
* ports/hotspot/src/share/vm/shark/sharkEntry.hpp
(SharkEntry::code_start): Removed cast.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Fri, 04 Sep 2009 07:14:31 -0400 |
parents | 2bb5c8fd9e83 |
children | 1e9e68b48fbb |
files | ChangeLog ports/hotspot/src/share/vm/shark/sharkCompiler.cpp ports/hotspot/src/share/vm/shark/sharkEntry.hpp |
diffstat | 3 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Aug 28 09:18:57 2009 -0400 +++ b/ChangeLog Fri Sep 04 07:14:31 2009 -0400 @@ -1,3 +1,12 @@ +2009-09-04 Gary Benson <gbenson@redhat.com> + + * ports/hotspot/src/share/vm/shark/sharkCompiler.cpp + (SharkCompiler::compile_method): Updated cast. + + * ports/hotspot/src/share/vm/shark/sharkEntry.hpp + (SharkEntry::code_start): Removed cast. + + 2009-08-28 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/share/vm/shark/sharkBuilder.hpp
--- a/ports/hotspot/src/share/vm/shark/sharkCompiler.cpp Fri Aug 28 09:18:57 2009 -0400 +++ b/ports/hotspot/src/share/vm/shark/sharkCompiler.cpp Fri Sep 04 07:14:31 2009 -0400 @@ -169,8 +169,7 @@ memory_manager()->set_entry_for_function(function, entry); module()->getFunctionList().push_back(function); entry->set_entry_point( - (ZeroEntry::method_entry_t) - execution_engine()->getPointerToFunction(function)); + (address) execution_engine()->getPointerToFunction(function)); address code_start = entry->code_start(); address code_limit = entry->code_limit();
--- a/ports/hotspot/src/share/vm/shark/sharkEntry.hpp Fri Aug 28 09:18:57 2009 -0400 +++ b/ports/hotspot/src/share/vm/shark/sharkEntry.hpp Fri Sep 04 07:14:31 2009 -0400 @@ -31,7 +31,7 @@ public: address code_start() const { - return (address) entry_point(); + return entry_point(); } address code_limit() const {