public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: swagiaal@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM] frysk system monitor/debugger branch, master, updated. 74e3e2ffac29c082dc752233408ef8efb73a0aad
Date: Wed, 07 Nov 2007 20:57:00 -0000	[thread overview]
Message-ID: <20071107205752.6096.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2007-11-07 20:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071107205752.6096.qmail@sourceware.org \
    --to=swagiaal@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).