diff options
author | paltherr <paltherr@epfl.ch> | 2003-12-04 09:31:16 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-12-04 09:31:16 +0000 |
commit | e9b099b38192674185eea59313cb4c50513a6d9d (patch) | |
tree | e47cd6329c71b219147f71bb2384bdc197bba543 /sources/scalac/backend/Primitive.java | |
parent | 0c3462a399a8c34fe61c07bfd8d50628368682d5 (diff) | |
download | scala-e9b099b38192674185eea59313cb4c50513a6d9d.tar.gz scala-e9b099b38192674185eea59313cb4c50513a6d9d.tar.bz2 scala-e9b099b38192674185eea59313cb4c50513a6d9d.zip |
- Added conversion primitives
Diffstat (limited to 'sources/scalac/backend/Primitive.java')
-rw-r--r-- | sources/scalac/backend/Primitive.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sources/scalac/backend/Primitive.java b/sources/scalac/backend/Primitive.java index 5d80dd9535..3eb9b07dcf 100644 --- a/sources/scalac/backend/Primitive.java +++ b/sources/scalac/backend/Primitive.java @@ -141,6 +141,56 @@ public class Primitive { public case DARRAY_SET { tag = 88; } // RunTime.darray(x,y,z) public case OARRAY_SET { tag = 89; } // RunTime.oarray(x,y,z) + public case B2B { tag =100; } // RunTime.b2b(x) + public case B2S { tag =101; } // RunTime.b2s(x) + public case B2C { tag =102; } // RunTime.b2c(x) + public case B2I { tag =103; } // RunTime.b2i(x) + public case B2L { tag =104; } // RunTime.b2l(x) + public case B2F { tag =105; } // RunTime.b2f(x) + public case B2D { tag =106; } // RunTime.b2d(x) + public case S2B { tag =107; } // RunTime.s2b(x) + public case S2S { tag =108; } // RunTime.s2s(x) + public case S2C { tag =109; } // RunTime.s2c(x) + public case S2I { tag =110; } // RunTime.s2i(x) + public case S2L { tag =111; } // RunTime.s2l(x) + public case S2F { tag =112; } // RunTime.s2f(x) + public case S2D { tag =113; } // RunTime.s2d(x) + public case C2B { tag =114; } // RunTime.c2b(x) + public case C2S { tag =115; } // RunTime.c2s(x) + public case C2C { tag =116; } // RunTime.c2c(x) + public case C2I { tag =117; } // RunTime.c2i(x) + public case C2L { tag =118; } // RunTime.c2l(x) + public case C2F { tag =119; } // RunTime.c2f(x) + public case C2D { tag =120; } // RunTime.c2d(x) + public case I2B { tag =121; } // RunTime.i2b(x) + public case I2S { tag =122; } // RunTime.i2s(x) + public case I2C { tag =123; } // RunTime.i2c(x) + public case I2I { tag =124; } // RunTime.i2i(x) + public case I2L { tag =125; } // RunTime.i2l(x) + public case I2F { tag =126; } // RunTime.i2f(x) + public case I2D { tag =127; } // RunTime.i2d(x) + public case L2B { tag =128; } // RunTime.l2b(x) + public case L2S { tag =129; } // RunTime.l2s(x) + public case L2C { tag =130; } // RunTime.l2c(x) + public case L2I { tag =131; } // RunTime.l2i(x) + public case L2L { tag =132; } // RunTime.l2l(x) + public case L2F { tag =133; } // RunTime.l2f(x) + public case L2D { tag =134; } // RunTime.l2d(x) + public case F2B { tag =135; } // RunTime.f2b(x) + public case F2S { tag =136; } // RunTime.f2s(x) + public case F2C { tag =137; } // RunTime.f2c(x) + public case F2I { tag =138; } // RunTime.f2i(x) + public case F2L { tag =139; } // RunTime.f2l(x) + public case F2F { tag =140; } // RunTime.f2f(x) + public case F2D { tag =141; } // RunTime.f2d(x) + public case D2B { tag =142; } // RunTime.d2b(x) + public case D2S { tag =143; } // RunTime.d2s(x) + public case D2C { tag =144; } // RunTime.d2c(x) + public case D2I { tag =145; } // RunTime.d2i(x) + public case D2L { tag =146; } // RunTime.d2l(x) + public case D2F { tag =147; } // RunTime.d2f(x) + public case D2D { tag =148; } // RunTime.d2d(x) + /** Return negated version of comparison primitive. */ public Primitive negate() { switch (this) { |