src/Opcodes.cpp
changeset 233 bbb498ccb4ac
parent 230 fb3cd08bc7fb
child 234 26e3035cdffc
     1.1 --- a/src/Opcodes.cpp	Sat Dec 22 19:48:43 2012 -0800
     1.2 +++ b/src/Opcodes.cpp	Sat Dec 22 23:18:57 2012 -0800
     1.3 @@ -256,7 +256,7 @@
     1.4            {
     1.5              Heap::Tenure tenure = (Heap::Tenure)pc[1];
     1.6              StructMap *map = StructMap::cast(code->map(READ_UINT32(pc + 1)));
     1.7 -            fprintf(fp, "%s", map->type()->name()->chars());
     1.8 +            fprintf(fp, "%s", StructType::cast(map->type())->name()->chars());
     1.9              if (tenure == Heap::Tenure_Stack)
    1.10                  fprintf(fp, " ; lifo");
    1.11              else if (tenure == Heap::Tenure_Old)