This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] frysk system monitor/debugger branch, master, updated. 74e3e2ffac29c082dc752233408ef8efb73a0aad


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]