/hg/icedtea6: Remove a now-unnecessary hack

gbenson at icedtea.classpath.org gbenson at icedtea.classpath.org
Tue May 11 01:26:15 PDT 2010


changeset 0d1df8a64a73 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=0d1df8a64a73
author: Gary Benson <gbenson at redhat.com>
date: Tue May 11 09:26:09 2010 +0100

	Remove a now-unnecessary hack


diffstat:

2 files changed, 5 insertions(+), 21 deletions(-)
ChangeLog                   |    5 +++++
patches/icedtea-shark.patch |   21 ---------------------

diffs (43 lines):

diff -r 9bc0c7b7f327 -r 0d1df8a64a73 ChangeLog
--- a/ChangeLog	Mon May 10 11:44:31 2010 +0100
+++ b/ChangeLog	Tue May 11 09:26:09 2010 +0100
@@ -1,3 +1,8 @@ 2010-05-10  Gary Benson  <gbenson at redhat
+2010-05-11  Gary Benson  <gbenson at redhat.com>
+
+	* patches/icedtea-shark.patch
+	(Deoptimization::create_vframeArray): Remove a now-unnecessary hack.
+
 2010-05-10  Gary Benson  <gbenson at redhat.com>
 
 	PR icedtea/323
diff -r 9bc0c7b7f327 -r 0d1df8a64a73 patches/icedtea-shark.patch
--- a/patches/icedtea-shark.patch	Mon May 10 11:44:31 2010 +0100
+++ b/patches/icedtea-shark.patch	Tue May 11 09:26:09 2010 +0100
@@ -101,27 +101,6 @@
  
    UnrollBlock* info = new UnrollBlock(array->frame_size() * BytesPerWord,
                                        caller_adjustment * BytesPerWord,
-@@ -890,7 +897,20 @@
-   // stuff a C2I adapter we can properly fill in the callee-save
-   // register locations.
-   frame caller = fr.sender(reg_map);
-+#ifdef ZERO
-+  int frame_size;
-+  {
-+    // In zero, frame::sp() is the *end* of the frame, so
-+    // caller.sp() - fr.sp() is the size of the *caller*.
-+    RegisterMap dummy_map(thread, false);
-+    frame frame_1 = thread->last_frame();
-+    frame frame_2 = frame_1.sender(&dummy_map);
-+    assert(frame_2.sp() == fr.sp(), "should be");
-+    frame_size = frame_2.sp() - frame_1.sp();
-+  }
-+#else
-   int frame_size = caller.sp() - fr.sp();
-+#endif // ZERO
- 
-   frame sender = caller;
- 
 @@ -1057,7 +1077,7 @@
  JRT_END
  



More information about the distro-pkg-dev mailing list