comparison graal/GraalCompiler/src/com/sun/c1x/lir/LIRList.java @ 2716:c1a9bf38da28

Removed bci from the Instruction class.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 13:59:55 +0200
parents 4272b7af2d17
children c1ce2a53d6c3
comparison
equal deleted inserted replaced
2715:3ac3dd97d8df 2716:c1a9bf38da28
388 append(new LIROp1(LIROpcode.Move, src, dst, src.kind, info)); 388 append(new LIROp1(LIROpcode.Move, src, dst, src.kind, info));
389 } 389 }
390 390
391 public static void printBlock(BlockBegin x) { 391 public static void printBlock(BlockBegin x) {
392 // print block id 392 // print block id
393 BlockEnd end = x.end();
394 TTY.print("B%d ", x.blockID); 393 TTY.print("B%d ", x.blockID);
395 394
396 // print flags 395 // print flags
397 if (x.isLinearScanLoopHeader()) { 396 if (x.isLinearScanLoopHeader()) {
398 TTY.print("lh "); 397 TTY.print("lh ");
400 if (x.isLinearScanLoopEnd()) { 399 if (x.isLinearScanLoopEnd()) {
401 TTY.print("le "); 400 TTY.print("le ");
402 } 401 }
403 402
404 // print block bci range 403 // print block bci range
405 TTY.print("[%d, %d] ", x.bci(), (end == null ? -1 : end.bci())); 404 TTY.print("[%d, %d] ", -1, -1);
406 405
407 // print predecessors and successors 406 // print predecessors and successors
408 if (x.numberOfPreds() > 0) { 407 if (x.numberOfPreds() > 0) {
409 TTY.print("preds: "); 408 TTY.print("preds: ");
410 for (int i = 0; i < x.numberOfPreds(); i++) { 409 for (int i = 0; i < x.numberOfPreds(); i++) {