Added code to initialize and destroy string variables in classes

- Will require being able to add strings to non-native classes to actually
  test this.
This commit is contained in:
Randy Heit 2016-04-03 17:45:04 -05:00
commit 7c8cff64e6
5 changed files with 211 additions and 30 deletions

View file

@ -3039,7 +3039,7 @@ ExpEmit FxArrayElement::Emit(VMFunctionBuilder *build)
{
ExpEmit indexv(index->Emit(build));
int shiftbits = 0;
while (1 << shiftbits < arraytype->ElementSize)
while (1u << shiftbits < arraytype->ElementSize)
{
shiftbits++;
}