diff -r c685db6c98e6 -r e020a14e21be jitcraft/BytecodeCompiler.cpp --- a/jitcraft/BytecodeCompiler.cpp Sun Jul 01 00:07:40 2012 -0700 +++ b/jitcraft/BytecodeCompiler.cpp Sun Jul 01 11:25:36 2012 -0700 @@ -144,7 +144,7 @@ if (var->type()->contained()->isFloat()) { __ getref_f(); } else { - assert(var->type()->contained()->isInt()); + assert(var->type()->contained()->isInt32()); __ getref_i(); } } @@ -187,7 +187,7 @@ if (var->type()->contained()->isFloat()) { __ setref_f(); } else { - assert(var->type()->contained()->isInt()); + assert(var->type()->contained()->isInt32()); __ setref_i(); } } else { @@ -203,7 +203,7 @@ if (index->left()->type()->contained()->isFloat()) { __ setarray_f(); } else { - assert(index->left()->type()->contained()->isInt()); + assert(index->left()->type()->contained()->isInt32()); __ setarray_i(); } } @@ -242,7 +242,7 @@ __ getarray_f(); } else { __ getarray_i(); - assert(node->type()->isInt()); + assert(node->type()->isInt32()); } }