Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/debug/CFGPrinter.java @ 2622:91d3952f7eb7
Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 12:37:46 +0200 |
parents | 4a36a0bd6d18 |
children | b129b7da1397 |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
544 if (i.operand().isLegal()) { | 544 if (i.operand().isLegal()) { |
545 out.print("result ").print(new CFGOperandFormatter(false).format(i.operand())).println(COLUMN_END); | 545 out.print("result ").print(new CFGOperandFormatter(false).format(i.operand())).println(COLUMN_END); |
546 } | 546 } |
547 out.print("tid ").print(i).println(COLUMN_END); | 547 out.print("tid ").print(i).println(COLUMN_END); |
548 | 548 |
549 String state = stateToString(i.stateBefore(), null); | 549 String state = stateToString(i.stateAfter(), null); |
550 if (state != null) { | 550 if (state != null) { |
551 out.print("st ").print(HOVER_START).print("st").print(HOVER_SEP).print(state).print(HOVER_END).println(COLUMN_END); | 551 out.print("st ").print(HOVER_START).print("st").print(HOVER_SEP).print(state).print(HOVER_END).println(COLUMN_END); |
552 } | 552 } |
553 | 553 |
554 out.print("instruction "); | 554 out.print("instruction "); |