Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/graph/BlockMap.java @ 2646:ce054e34fbaf
Fixed regression.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 14:37:20 +0200 |
parents | b2c1e959be46 |
children | bcd20d26d52d |
comparison
equal
deleted
inserted
replaced
2645:b2c1e959be46 | 2646:ce054e34fbaf |
---|---|
358 // mark the entrypoints of basic blocks and build lists of successors for | 358 // mark the entrypoints of basic blocks and build lists of successors for |
359 // all bytecodes that end basic blocks (i.e. goto, ifs, switches, throw, jsr, returns, ret) | 359 // all bytecodes that end basic blocks (i.e. goto, ifs, switches, throw, jsr, returns, ret) |
360 int bci = 0; | 360 int bci = 0; |
361 ExceptionMap exceptionMap = this.exceptionMap; | 361 ExceptionMap exceptionMap = this.exceptionMap; |
362 byte[] code = this.code; | 362 byte[] code = this.code; |
363 make(0); | |
363 while (bci < code.length) { | 364 while (bci < code.length) { |
364 int opcode = Bytes.beU1(code, bci); | 365 int opcode = Bytes.beU1(code, bci); |
365 switch (opcode) { | 366 switch (opcode) { |
366 case ATHROW: | 367 case ATHROW: |
367 if (exceptionMap != null) { | 368 if (exceptionMap != null) { |