This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
[SCM] master: Delete older implementation of logical*.
- From: tthomas at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 14 Nov 2007 20:31:08 -0000
- Subject: [SCM] master: Delete older implementation of logical*.
- Reply-to: frysk at sourceware dot org
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