public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] frysk system monitor/debugger branch, master, updated. 74e3e2ffac29c082dc752233408ef8efb73a0aad
@ 2007-11-07 20:57 swagiaal
  0 siblings, 0 replies; only message in thread
From: swagiaal @ 2007-11-07 20:57 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  74e3e2ffac29c082dc752233408ef8efb73a0aad (commit)
      from  718026a59c0ed8ed3a4e7eb97090244332b8c210 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 74e3e2ffac29c082dc752233408ef8efb73a0aad
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Wed Nov 7 15:56:55 2007 -0500

    swagiaal: Removed Value argument from CompositeType::iterator().
    
    frysk-core/frysk/value/ChangeLog
    +2007-11-07  Sami Wagiaalla  <swagiaal@toner.toronto.redhat.com>
    +
    +       * CompositeType.java: Changed iterator() to not require
    +       a Value object.
    +

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/value/ChangeLog          |    5 +++++
 frysk-core/frysk/value/CompositeType.java |    9 +++------
 2 files changed, 8 insertions(+), 6 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/value/ChangeLog b/frysk-core/frysk/value/ChangeLog
index 108511e..676dae7 100644
--- a/frysk-core/frysk/value/ChangeLog
+++ b/frysk-core/frysk/value/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-07  Sami Wagiaalla  <swagiaal@toner.toronto.redhat.com>
+
+	* CompositeType.java: Changed iterator() to not require
+	a Value object.
+
 2007-11-07  Teresa Thomas  <tthomas@redhat.com>
 
 	* FloatingPointUnit.java (multiply): New.
diff --git a/frysk-core/frysk/value/CompositeType.java b/frysk-core/frysk/value/CompositeType.java
index b51545d..1ce5d73 100644
--- a/frysk-core/frysk/value/CompositeType.java
+++ b/frysk-core/frysk/value/CompositeType.java
@@ -187,11 +187,8 @@ public abstract class CompositeType
     {
 	private int idx;
 
-	Value v;
-
-	ClassIterator (Value v) {
+	ClassIterator () {
 	    idx = -1;
-	    this.v = v;
 	}
 
 	public boolean hasNext () {
@@ -206,7 +203,7 @@ public abstract class CompositeType
 	}
 
 	public Object next () {
-	    return ((Member)members.get(idx)).getValue(v);
+	    return ((Member)members.get(idx));
 	}
 
 	public void remove () {
@@ -214,7 +211,7 @@ public abstract class CompositeType
     }
  
     public ClassIterator iterator (Value v) {
-	return new ClassIterator(v);
+	return new ClassIterator();
     }
 
     void toPrint(PrintWriter writer, Location location, ByteBuffer memory,


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-07 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-07 20:57 [SCM] frysk system monitor/debugger branch, master, updated. 74e3e2ffac29c082dc752233408ef8efb73a0aad swagiaal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).