1.1 --- a/src/compiler/BytecodeEmitter.h Wed Dec 26 17:20:55 2012 -0800
1.2 +++ b/src/compiler/BytecodeEmitter.h Thu Dec 27 20:44:50 2012 -0800
1.3 @@ -627,12 +627,6 @@
1.4 void neg_f() {
1.5 singleByteOp(OP_NEG_F);
1.6 }
1.7 - void bits_i2f() {
1.8 - singleByteOp(OP_BITS_I2F);
1.9 - }
1.10 - void bits_f2i() {
1.11 - singleByteOp(OP_BITS_F2I);
1.12 - }
1.13 void true_() {
1.14 singleByteOp(OP_TRUE);
1.15 }
1.16 @@ -657,6 +651,12 @@
1.17 singleByteOp(OP_PUBLIC);
1.18 }
1.19
1.20 + void bitcast(Type *type) {
1.21 + ensure(OP_BITCAST_LENGTH);
1.22 + writeOp(OP_BITCAST);
1.23 + writeObject(type);
1.24 + }
1.25 +
1.26 void tableswitch(int low, int high, Label *def, Label **labels) {
1.27 unsigned tablesize = TableSwitchEntries(low, high);
1.28 assert(tablesize <= MAX_TABLESWITCH_ENTRIES);