diff options
author | paltherr <paltherr@epfl.ch> | 2003-03-28 16:02:40 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-03-28 16:02:40 +0000 |
commit | 5c24c955335d5dc2018042db5b0b0ee4a92663b6 (patch) | |
tree | d07749cc3c801eaeabefb16bcd4c7c4d50e500f0 /sources/scalac/backend/Primitive.java | |
parent | e189c7bacc64563eb4d0d359be061e42333a2887 (diff) | |
download | scala-5c24c955335d5dc2018042db5b0b0ee4a92663b6.tar.gz scala-5c24c955335d5dc2018042db5b0b0ee4a92663b6.tar.bz2 scala-5c24c955335d5dc2018042db5b0b0ee4a92663b6.zip |
- Added array length primitives
Diffstat (limited to 'sources/scalac/backend/Primitive.java')
-rw-r--r-- | sources/scalac/backend/Primitive.java | 45 |
1 files changed, 27 insertions, 18 deletions
diff --git a/sources/scalac/backend/Primitive.java b/sources/scalac/backend/Primitive.java index e2c51289f7..c1b09fe36a 100644 --- a/sources/scalac/backend/Primitive.java +++ b/sources/scalac/backend/Primitive.java @@ -110,24 +110,33 @@ public class Primitive { public case NEW_FARRAY { tag = 59; } // RunTime.farray(x) public case NEW_DARRAY { tag = 60; } // RunTime.darray(x) public case NEW_OARRAY { tag = 61; } // RunTime.oarray(x) - public case ZARRAY_GET { tag = 62; } // RunTime.zarray_get(x,y) - public case BARRAY_GET { tag = 63; } // RunTime.barray_get(x,y) - public case SARRAY_GET { tag = 64; } // RunTime.sarray_get(x,y) - public case CARRAY_GET { tag = 65; } // RunTime.carray_get(x,y) - public case IARRAY_GET { tag = 66; } // RunTime.iarray_get(x,y) - public case LARRAY_GET { tag = 67; } // RunTime.larray_get(x,y) - public case FARRAY_GET { tag = 68; } // RunTime.farray_get(x,y) - public case DARRAY_GET { tag = 69; } // RunTime.darray_get(x,y) - public case OARRAY_GET { tag = 70; } // RunTime.oarray_get(x,y) - public case ZARRAY_SET { tag = 71; } // RunTime.zarray(x,y,z) - public case BARRAY_SET { tag = 72; } // RunTime.barray(x,y,z) - public case SARRAY_SET { tag = 73; } // RunTime.sarray(x,y,z) - public case CARRAY_SET { tag = 74; } // RunTime.carray(x,y,z) - public case IARRAY_SET { tag = 75; } // RunTime.iarray(x,y,z) - public case LARRAY_SET { tag = 76; } // RunTime.larray(x,y,z) - public case FARRAY_SET { tag = 77; } // RunTime.farray(x,y,z) - public case DARRAY_SET { tag = 78; } // RunTime.darray(x,y,z) - public case OARRAY_SET { tag = 79; } // RunTime.oarray(x,y,z) + public case ZARRAY_LENGTH { tag = 62; } // RunTime.zarray_length(x) + public case BARRAY_LENGTH { tag = 63; } // RunTime.barray_length(x) + public case SARRAY_LENGTH { tag = 64; } // RunTime.sarray_length(x) + public case CARRAY_LENGTH { tag = 65; } // RunTime.carray_length(x) + public case IARRAY_LENGTH { tag = 66; } // RunTime.iarray_length(x) + public case LARRAY_LENGTH { tag = 67; } // RunTime.larray_length(x) + public case FARRAY_LENGTH { tag = 68; } // RunTime.farray_length(x) + public case DARRAY_LENGTH { tag = 69; } // RunTime.darray_length(x) + public case OARRAY_LENGTH { tag = 70; } // RunTime.oarray_length(x) + public case ZARRAY_GET { tag = 71; } // RunTime.zarray_get(x,y) + public case BARRAY_GET { tag = 72; } // RunTime.barray_get(x,y) + public case SARRAY_GET { tag = 73; } // RunTime.sarray_get(x,y) + public case CARRAY_GET { tag = 74; } // RunTime.carray_get(x,y) + public case IARRAY_GET { tag = 75; } // RunTime.iarray_get(x,y) + public case LARRAY_GET { tag = 76; } // RunTime.larray_get(x,y) + public case FARRAY_GET { tag = 77; } // RunTime.farray_get(x,y) + public case DARRAY_GET { tag = 78; } // RunTime.darray_get(x,y) + public case OARRAY_GET { tag = 79; } // RunTime.oarray_get(x,y) + public case ZARRAY_SET { tag = 80; } // RunTime.zarray(x,y,z) + public case BARRAY_SET { tag = 81; } // RunTime.barray(x,y,z) + public case SARRAY_SET { tag = 82; } // RunTime.sarray(x,y,z) + public case CARRAY_SET { tag = 83; } // RunTime.carray(x,y,z) + public case IARRAY_SET { tag = 84; } // RunTime.iarray(x,y,z) + public case LARRAY_SET { tag = 85; } // RunTime.larray(x,y,z) + public case FARRAY_SET { tag = 86; } // RunTime.farray(x,y,z) + public case DARRAY_SET { tag = 87; } // RunTime.darray(x,y,z) + public case OARRAY_SET { tag = 88; } // RunTime.oarray(x,y,z) /** Return negated version of comparison primitive. */ public Primitive negate() { |