changeset 1610:94d99ead66a4

2009-06-19 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/share/vm/shark/sharkEntry.hpp (SharkEntry::_llvm_function): Removed. (SharkEntry::llvm_function): Likewise. (SharkEntry::set_llvm_function): Likewise. * ports/hotspot/src/share/vm/shark/sharkFunction.cpp (SharkFunction::initialize): Removed call to set_llvm_function.
author Gary Benson <gbenson@redhat.com>
date Fri, 19 Jun 2009 03:59:26 -0400
parents 025782d51e5c
children 2bd8742661b3
files ChangeLog ports/hotspot/src/share/vm/shark/sharkEntry.hpp ports/hotspot/src/share/vm/shark/sharkFunction.cpp
diffstat 3 files changed, 11 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 18 12:14:25 2009 -0400
+++ b/ChangeLog	Fri Jun 19 03:59:26 2009 -0400
@@ -1,3 +1,13 @@
+2009-06-19  Gary Benson  <gbenson@redhat.com>
+
+	* ports/hotspot/src/share/vm/shark/sharkEntry.hpp
+	(SharkEntry::_llvm_function): Removed.
+	(SharkEntry::llvm_function): Likewise.
+	(SharkEntry::set_llvm_function): Likewise.
+
+	* ports/hotspot/src/share/vm/shark/sharkFunction.cpp
+	(SharkFunction::initialize): Removed call to set_llvm_function.
+
 2009-06-18  Gary Benson  <gbenson@redhat.com>
 
 	* ports/hotspot/src/share/vm/shark/sharkTopLevelBlock.cpp
--- a/ports/hotspot/src/share/vm/shark/sharkEntry.hpp	Thu Jun 18 12:14:25 2009 -0400
+++ b/ports/hotspot/src/share/vm/shark/sharkEntry.hpp	Fri Jun 19 03:59:26 2009 -0400
@@ -27,18 +27,7 @@
   friend class SharkMemoryManager;
 
  private:
-  llvm::Function* _llvm_function;
-  address         _code_limit;
-
- public:
-  llvm::Function* llvm_function() const
-  {
-    return _llvm_function;
-  }
-  void set_llvm_function(llvm::Function* llvm_function)
-  {
-    _llvm_function = llvm_function;
-  }
+  address _code_limit;
 
  public:
   address code_start() const
--- a/ports/hotspot/src/share/vm/shark/sharkFunction.cpp	Thu Jun 18 12:14:25 2009 -0400
+++ b/ports/hotspot/src/share/vm/shark/sharkFunction.cpp	Fri Jun 19 03:59:26 2009 -0400
@@ -38,7 +38,6 @@
 
   // Create the function
   _function = builder()->CreateFunction(name());
-  entry->set_llvm_function(function());
   memory_manager()->set_entry_for_function(function(), entry);
 
   // Get our arguments