diff options
author | NAME <USER@epfl.ch> | 2004-01-30 13:07:45 +0000 |
---|---|---|
committer | NAME <USER@epfl.ch> | 2004-01-30 13:07:45 +0000 |
commit | bec9884b00d60a79671e51a5a65b1717f753f981 (patch) | |
tree | 0a8d4bfa78fbe173ddaf6a8fa8f1e34902f8ee84 /sources/scalac/atree/AShiftOp.java | |
parent | 0bc48e99d91c250590e6ec1ed376aec348df5cb4 (diff) | |
download | scala-bec9884b00d60a79671e51a5a65b1717f753f981.tar.gz scala-bec9884b00d60a79671e51a5a65b1717f753f981.tar.bz2 scala-bec9884b00d60a79671e51a5a65b1717f753f981.zip |
Added intermediate code and corresponding jvm b...
Added intermediate code and corresponding jvm backend
Diffstat (limited to 'sources/scalac/atree/AShiftOp.java')
-rw-r--r-- | sources/scalac/atree/AShiftOp.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sources/scalac/atree/AShiftOp.java b/sources/scalac/atree/AShiftOp.java index 102f7963bd..fbed80fcde 100644 --- a/sources/scalac/atree/AShiftOp.java +++ b/sources/scalac/atree/AShiftOp.java @@ -16,24 +16,24 @@ public class AShiftOp { //######################################################################## // Public Cases - /** A logical shift to the left */ - public case LSL; - - /** A logical shift to the right */ - public case LSR; + /** An arithmetic shift to the left */ + public case ASL; /** An arithmetic shift to the right */ public case ASR; + /** A logical shift to the right */ + public case LSR; + //######################################################################## // Public Methods /** Returns a string representation of this operation. */ public String toString() { switch (this) { - case LSL: return "LSL"; - case LSR: return "LSR"; + case ASL: return "ASL"; case ASR: return "ASR"; + case LSR: return "LSR"; default: throw Debug.abort("unknown case", this); } } |