Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ComputeLinearScanOrder.java @ 2717:bd85cf08720a
Small cleanup.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 14:31:03 +0200 |
parents | 4272b7af2d17 |
children | c1ce2a53d6c3 |
comparison
equal
deleted
inserted
replaced
2716:c1a9bf38da28 | 2717:bd85cf08720a |
---|---|
350 if (!(cur.end() instanceof Return) && (singleSux == null || !(singleSux.end() instanceof Return))) { | 350 if (!(cur.end() instanceof Return) && (singleSux == null || !(singleSux.end() instanceof Return))) { |
351 weight |= (1 << curBit); | 351 weight |= (1 << curBit); |
352 } | 352 } |
353 curBit--; | 353 curBit--; |
354 | 354 |
355 // // exceptions handlers are added as late as possible | |
356 // if (!cur.checkBlockFlag(BlockBegin.BlockFlag.ExceptionEntry)) { | |
357 // weight |= (1 << curBit); | |
358 // } | |
359 curBit--; | |
360 | |
361 // guarantee that weight is > 0 | 355 // guarantee that weight is > 0 |
362 weight |= 1; | 356 weight |= 1; |
363 | 357 |
364 assert curBit >= 0 : "too many flags"; | 358 assert curBit >= 0 : "too many flags"; |
365 assert weight > 0 : "weight cannot become negative"; | 359 assert weight > 0 : "weight cannot become negative"; |