int getValueIndex(ObjectValue objValue)
{
int value_index = 0;
String value = objValue.toString();
TypeValue defaultValueType = objValue.type != null ? objValue.type.getTypeValue() : null;
NumberUsage numberUsage = objValue.getNumberUsage();
// TODO: this should probably deal with non-nullable object types
if (defaultValueType == cx.booleanType())
{
// The index doesn't matter, as long as its non 0
// there are no boolean values in any cpool, instead the value will be determined by the kind byte