public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Delete older implementation of logical*.
@ 2007-11-14 20:31 tthomas
  0 siblings, 0 replies; only message in thread
From: tthomas @ 2007-11-14 20:31 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  5d772e1456994a832874051dd9eb307af3e4dd53 (commit)
      from  b5bb4c4272e619dd93ffc08bd9c7168e8b70a095 (commit)

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

- Log -----------------------------------------------------------------
commit 5d772e1456994a832874051dd9eb307af3e4dd53
Author: Teresa Thomas <tthomas@redhat.com>
Date:   Wed Nov 14 14:56:33 2007 -0500

    Delete older implementation of logical*.
    
    frysk-core/frysk/value/ChangeLog
    2007-11-14  Teresa Thomas  <tthomas@redhat.com>
    
    	* ArithmeticUnit.java (logicalAnd(Value,Value)): Delete.
    	* ArithmeticUnit.java (logicalOr(Value,Value)): Delete.

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

Summary of changes:
 frysk-core/frysk/value/ArithmeticUnit.java |    9 ---------
 frysk-core/frysk/value/ChangeLog           |    3 +++
 2 files changed, 3 insertions(+), 9 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/value/ArithmeticUnit.java b/frysk-core/frysk/value/ArithmeticUnit.java
index 5bfaea7..5280224 100644
--- a/frysk-core/frysk/value/ArithmeticUnit.java
+++ b/frysk-core/frysk/value/ArithmeticUnit.java
@@ -143,21 +143,12 @@ public abstract class ArithmeticUnit
                   (v1.getType(), "~");
     }
     
-    // Logical expressions - valid for scalar types.
-    public Value logicalAnd (Value v1, Value v2) {
-        throw new InvalidOperatorException
-                  (v1.getType(), v2.getType(), "&&");
-    }
     // Logical expressions - valid for any scalar types.
     public Value logicalAnd (Value v1, Value v2, ByteBuffer mem) {
 	boolean op1 = v1.getType().getALU(wordSize).getLogicalValue(v1, mem);
 	boolean op2 = v2.getType().getALU(wordSize).getLogicalValue(v2, mem);
 	return intType.createValue( (op1 && op2) ? 1:0);
     }
-    public Value logicalOr (Value v1, Value v2) {
-        throw new InvalidOperatorException
-                  (v1.getType(), v2.getType(), "||");
-    }
     public Value logicalOr (Value v1, Value v2, ByteBuffer mem) {
 	boolean op1 = v1.getType().getALU(wordSize).getLogicalValue(v1, mem);
 	boolean op2 = v2.getType().getALU(wordSize).getLogicalValue(v2, mem);
diff --git a/frysk-core/frysk/value/ChangeLog b/frysk-core/frysk/value/ChangeLog
index 296f17f..7ae7fae 100644
--- a/frysk-core/frysk/value/ChangeLog
+++ b/frysk-core/frysk/value/ChangeLog
@@ -1,4 +1,7 @@
 2007-11-14  Teresa Thomas  <tthomas@redhat.com>
+
+	* ArithmeticUnit.java (logicalAnd(Value,Value)): Delete.	
+	* ArithmeticUnit.java (logicalOr(Value,Value)): Delete.
 	
 	* Type.java (getALU): Remove stray println.
 	


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


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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-14 20:31 [SCM] master: Delete older implementation of logical* tthomas

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).