Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2610:39aa89baa165
cleanup: FrameState copy methods, ImmutableFrameState
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 06 May 2011 13:03:33 +0200 |
parents | 01c5c0443158 |
children | bd235cb4375a |
comparison
equal
deleted
inserted
replaced
2603:01c5c0443158 | 2610:39aa89baa165 |
---|---|
408 // this can happen for complex jsr/ret patterns; just bail out | 408 // this can happen for complex jsr/ret patterns; just bail out |
409 throw new CiBailout("jsr/ret too complex"); | 409 throw new CiBailout("jsr/ret too complex"); |
410 } | 410 } |
411 | 411 |
412 // copy state because it is modified | 412 // copy state because it is modified |
413 newState = newState.copy(); | 413 newState = newState.immutableCopy(); |
414 | 414 |
415 if (C1XOptions.UseStackMapTableLiveness) { | 415 if (C1XOptions.UseStackMapTableLiveness) { |
416 // if a liveness map is available, use it to invalidate dead locals | 416 // if a liveness map is available, use it to invalidate dead locals |
417 CiBitMap[] livenessMap = method.livenessMap(); | 417 CiBitMap[] livenessMap = method.livenessMap(); |
418 if (livenessMap != null && bci() >= 0) { | 418 if (livenessMap != null && bci() >= 0) { |