void dumpBlock(BasicBlock block){
  if (block == header) {
    VM.sysWrite("Header ");
  }
  if (block == exit) {
    VM.sysWrite("Exit ");
  }
  VM.sysWrite("Block #" + block.getNumber() + ":\n");
  IREnumeration.AllInstructionsEnum instructions=new IREnumeration.AllInstructionsEnum(ir,block);
  while (instructions.hasMoreElements()) {
    Instruction instr=instructions.nextElement();
    dumpInstruction(ir,instr);
  }
}

void dumpBlock ( BasicBlock block ) { if ( block == header ) { VM . sysWrite ( "Header " ) ; } if ( block == exit ) { VM . sysWrite ( "Exit " ) ; } VM . sysWrite ( "Block #" + block . getNumber ( ) + ":\n" ) ; IREnumeration . AllInstructionsEnum instructions = new IREnumeration . AllInstructionsEnum ( ir , block ) ; while ( instructions . hasMoreElements ( ) ) { Instruction instr = instructions . nextElement ( ) ; dumpInstruction ( ir , instr ) ; } }
dump a human readable description of a basic block within the loop
