Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/observer/CompilationEvent.java @ 2781:bda5972a40a5
remove unnecessary BlockBegin nodes in frontend
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 24 May 2011 15:31:52 +0200 |
parents | 16b9a8b5ad39 |
children | b003ea36fa12 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/observer/CompilationEvent.java Tue May 24 13:55:56 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/observer/CompilationEvent.java Tue May 24 15:31:52 2011 +0200 @@ -43,7 +43,7 @@ private final C1XCompilation compilation; private final String label; - private BlockBegin startBlock; + private Instruction startBlock; private BlockMap blockMap; private int codeSize = -1; @@ -67,14 +67,14 @@ this.compilation = compilation; } - public CompilationEvent(C1XCompilation compilation, String label, BlockBegin startBlock, boolean hirValid, boolean lirValid) { + public CompilationEvent(C1XCompilation compilation, String label, Instruction startBlock, boolean hirValid, boolean lirValid) { this(compilation, label); this.startBlock = startBlock; this.hirValid = hirValid; this.lirValid = lirValid; } - public CompilationEvent(C1XCompilation compilation, String label, BlockBegin startBlock, boolean hirValid, boolean lirValid, CiTargetMethod targetMethod) { + public CompilationEvent(C1XCompilation compilation, String label, Instruction startBlock, boolean hirValid, boolean lirValid, CiTargetMethod targetMethod) { this(compilation, label, startBlock, hirValid, lirValid); this.targetMethod = targetMethod; } @@ -108,7 +108,7 @@ return blockMap; } - public BlockBegin getStartBlock() { + public Instruction getStartBlock() { return startBlock; }