1.1 --- a/jitcraft/BytecodeCompiler.cpp Sun Jul 01 00:07:40 2012 -0700
1.2 +++ b/jitcraft/BytecodeCompiler.cpp Sun Jul 01 11:25:36 2012 -0700
1.3 @@ -144,7 +144,7 @@
1.4 if (var->type()->contained()->isFloat()) {
1.5 __ getref_f();
1.6 } else {
1.7 - assert(var->type()->contained()->isInt());
1.8 + assert(var->type()->contained()->isInt32());
1.9 __ getref_i();
1.10 }
1.11 }
1.12 @@ -187,7 +187,7 @@
1.13 if (var->type()->contained()->isFloat()) {
1.14 __ setref_f();
1.15 } else {
1.16 - assert(var->type()->contained()->isInt());
1.17 + assert(var->type()->contained()->isInt32());
1.18 __ setref_i();
1.19 }
1.20 } else {
1.21 @@ -203,7 +203,7 @@
1.22 if (index->left()->type()->contained()->isFloat()) {
1.23 __ setarray_f();
1.24 } else {
1.25 - assert(index->left()->type()->contained()->isInt());
1.26 + assert(index->left()->type()->contained()->isInt32());
1.27 __ setarray_i();
1.28 }
1.29 }
1.30 @@ -242,7 +242,7 @@
1.31 __ getarray_f();
1.32 } else {
1.33 __ getarray_i();
1.34 - assert(node->type()->isInt());
1.35 + assert(node->type()->isInt32());
1.36 }
1.37 }
1.38