From b918f65c2e33075714351124b23d6e032b686af5 Mon Sep 17 00:00:00 2001 From: NAME Date: Tue, 9 Mar 2004 13:46:42 +0000 Subject: Some modifications on the intermediate code --- sources/scalac/atree/AShiftOp.java | 6 +++--- sources/scalac/atree/ATreeFactory.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sources/scalac/atree') diff --git a/sources/scalac/atree/AShiftOp.java b/sources/scalac/atree/AShiftOp.java index fbed80fcde..791ce54328 100644 --- a/sources/scalac/atree/AShiftOp.java +++ b/sources/scalac/atree/AShiftOp.java @@ -16,8 +16,8 @@ public class AShiftOp { //######################################################################## // Public Cases - /** An arithmetic shift to the left */ - public case ASL; + /** A logical shift to the left */ + public case LSL; /** An arithmetic shift to the right */ public case ASR; @@ -31,7 +31,7 @@ public class AShiftOp { /** Returns a string representation of this operation. */ public String toString() { switch (this) { - case ASL: return "ASL"; + case LSL: return "LSL"; case ASR: return "ASR"; case LSR: return "LSR"; default: throw Debug.abort("unknown case", this); diff --git a/sources/scalac/atree/ATreeFactory.java b/sources/scalac/atree/ATreeFactory.java index e28b220340..0c09650a16 100644 --- a/sources/scalac/atree/ATreeFactory.java +++ b/sources/scalac/atree/ATreeFactory.java @@ -411,7 +411,7 @@ public class ATreeFactory { /** Builds a LSL primitive. */ public APrimitive LSL(ATypeKind kind) { - return APrimitive.Shift(AShiftOp.ASL, kind); + return APrimitive.Shift(AShiftOp.LSL, kind); } /** Builds a LSR primitive. */ -- cgit v1.2.3