Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Base.java @ 2516:a384fac3fd34
Removed anything OSR-related.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 15:49:27 +0200 |
parents | 16b9a8b5ad39 |
children | 4a36a0bd6d18 |
comparison
equal
deleted
inserted
replaced
2515:4fdef1464592 | 2516:a384fac3fd34 |
---|---|
34 public final class Base extends BlockEnd { | 34 public final class Base extends BlockEnd { |
35 | 35 |
36 /** | 36 /** |
37 * Constructs a new Base instruction. | 37 * Constructs a new Base instruction. |
38 * @param standardEntry the standard entrypoint block | 38 * @param standardEntry the standard entrypoint block |
39 * @param osrEntry the OSR entrypoint block | |
40 */ | 39 */ |
41 public Base(BlockBegin standardEntry, BlockBegin osrEntry) { | 40 public Base(BlockBegin standardEntry) { |
42 super(CiKind.Illegal, null, false); | 41 super(CiKind.Illegal, null, false); |
43 assert osrEntry == null || osrEntry.isOsrEntry(); | |
44 assert standardEntry.isStandardEntry(); | 42 assert standardEntry.isStandardEntry(); |
45 if (osrEntry != null) { | |
46 successors.add(osrEntry); | |
47 } | |
48 successors.add(standardEntry); | 43 successors.add(standardEntry); |
49 } | 44 } |
50 | 45 |
51 /** | 46 /** |
52 * Gets the standard entrypoint block. | 47 * Gets the standard entrypoint block. |