diff options
author | paltherr <paltherr@epfl.ch> | 2003-12-03 10:20:11 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-12-03 10:20:11 +0000 |
commit | f20b622e6a7a28524f804557d0537bde2d50b578 (patch) | |
tree | ecde73ff6e872cb1ca8855b287f6ced698a2948d /sources/scalac/backend/Primitive.java | |
parent | 26fcd4c7cdd8186280ac1c2647961d6429231ffb (diff) | |
download | scala-f20b622e6a7a28524f804557d0537bde2d50b578.tar.gz scala-f20b622e6a7a28524f804557d0537bde2d50b578.tar.bz2 scala-f20b622e6a7a28524f804557d0537bde2d50b578.zip |
- Added primitive UNBOX
Diffstat (limited to 'sources/scalac/backend/Primitive.java')
-rw-r--r-- | sources/scalac/backend/Primitive.java | 73 |
1 files changed, 37 insertions, 36 deletions
diff --git a/sources/scalac/backend/Primitive.java b/sources/scalac/backend/Primitive.java index ce4d5cb6a5..5d80dd9535 100644 --- a/sources/scalac/backend/Primitive.java +++ b/sources/scalac/backend/Primitive.java @@ -103,42 +103,43 @@ public class Primitive { // RunTime operations public case BOX { tag = 52; } // RunTime.box(x) - public case NEW_ZARRAY { tag = 53; } // RunTime.zarray(x) - public case NEW_BARRAY { tag = 54; } // RunTime.barray(x) - public case NEW_SARRAY { tag = 55; } // RunTime.sarray(x) - public case NEW_CARRAY { tag = 56; } // RunTime.carray(x) - public case NEW_IARRAY { tag = 57; } // RunTime.iarray(x) - public case NEW_LARRAY { tag = 58; } // RunTime.larray(x) - 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_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) + public case UNBOX { tag = 53; } // RunTime.unbox(x) + public case NEW_ZARRAY { tag = 54; } // RunTime.zarray(x) + public case NEW_BARRAY { tag = 55; } // RunTime.barray(x) + public case NEW_SARRAY { tag = 56; } // RunTime.sarray(x) + public case NEW_CARRAY { tag = 57; } // RunTime.carray(x) + public case NEW_IARRAY { tag = 58; } // RunTime.iarray(x) + public case NEW_LARRAY { tag = 59; } // RunTime.larray(x) + public case NEW_FARRAY { tag = 60; } // RunTime.farray(x) + public case NEW_DARRAY { tag = 61; } // RunTime.darray(x) + public case NEW_OARRAY { tag = 62; } // RunTime.oarray(x) + public case ZARRAY_LENGTH { tag = 63; } // RunTime.zarray_length(x) + public case BARRAY_LENGTH { tag = 64; } // RunTime.barray_length(x) + public case SARRAY_LENGTH { tag = 65; } // RunTime.sarray_length(x) + public case CARRAY_LENGTH { tag = 66; } // RunTime.carray_length(x) + public case IARRAY_LENGTH { tag = 67; } // RunTime.iarray_length(x) + public case LARRAY_LENGTH { tag = 68; } // RunTime.larray_length(x) + public case FARRAY_LENGTH { tag = 69; } // RunTime.farray_length(x) + public case DARRAY_LENGTH { tag = 70; } // RunTime.darray_length(x) + public case OARRAY_LENGTH { tag = 71; } // RunTime.oarray_length(x) + public case ZARRAY_GET { tag = 72; } // RunTime.zarray_get(x,y) + public case BARRAY_GET { tag = 73; } // RunTime.barray_get(x,y) + public case SARRAY_GET { tag = 74; } // RunTime.sarray_get(x,y) + public case CARRAY_GET { tag = 75; } // RunTime.carray_get(x,y) + public case IARRAY_GET { tag = 76; } // RunTime.iarray_get(x,y) + public case LARRAY_GET { tag = 77; } // RunTime.larray_get(x,y) + public case FARRAY_GET { tag = 78; } // RunTime.farray_get(x,y) + public case DARRAY_GET { tag = 79; } // RunTime.darray_get(x,y) + public case OARRAY_GET { tag = 80; } // RunTime.oarray_get(x,y) + public case ZARRAY_SET { tag = 81; } // RunTime.zarray(x,y,z) + public case BARRAY_SET { tag = 82; } // RunTime.barray(x,y,z) + public case SARRAY_SET { tag = 83; } // RunTime.sarray(x,y,z) + public case CARRAY_SET { tag = 84; } // RunTime.carray(x,y,z) + public case IARRAY_SET { tag = 85; } // RunTime.iarray(x,y,z) + public case LARRAY_SET { tag = 86; } // RunTime.larray(x,y,z) + public case FARRAY_SET { tag = 87; } // RunTime.farray(x,y,z) + public case DARRAY_SET { tag = 88; } // RunTime.darray(x,y,z) + public case OARRAY_SET { tag = 89; } // RunTime.oarray(x,y,z) /** Return negated version of comparison primitive. */ public Primitive negate() { |