Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java @ 2564:274360f98f97
Remove inlining (2nd part) removed IRScope
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 29 Apr 2011 13:19:17 +0200 |
parents | a384fac3fd34 |
children | cc1f1d396288 |
comparison
equal
deleted
inserted
replaced
2563:491896f81cae | 2564:274360f98f97 |
---|---|
92 this.target = compiler.target; | 92 this.target = compiler.target; |
93 this.runtime = compiler.runtime; | 93 this.runtime = compiler.runtime; |
94 this.method = method; | 94 this.method = method; |
95 this.stats = stats == null ? new CiStatistics() : stats; | 95 this.stats = stats == null ? new CiStatistics() : stats; |
96 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method); | 96 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method); |
97 this.placeholderState = method != null && method.minimalDebugInfo() ? new MutableFrameState(new IRScope(null, null, method, -1), 0, 0, 0) : null; | 97 this.placeholderState = method != null && method.minimalDebugInfo() ? new MutableFrameState(method, 0, 0, 0) : null; |
98 | 98 |
99 if (compiler.isObserved()) { | 99 if (compiler.isObserved()) { |
100 compiler.fireCompilationStarted(new CompilationEvent(this)); | 100 compiler.fireCompilationStarted(new CompilationEvent(this)); |
101 } | 101 } |
102 } | 102 } |
239 if (C1XOptions.GenLIR) { | 239 if (C1XOptions.GenLIR) { |
240 if (C1XOptions.PrintTimers) { | 240 if (C1XOptions.PrintTimers) { |
241 C1XTimers.LIR_CREATE.start(); | 241 C1XTimers.LIR_CREATE.start(); |
242 } | 242 } |
243 | 243 |
244 initFrameMap(hir.topScope.maxLocks()); | 244 initFrameMap(hir.maxLocks()); |
245 | 245 |
246 lirGenerator = compiler.backend.newLIRGenerator(this); | 246 lirGenerator = compiler.backend.newLIRGenerator(this); |
247 for (BlockBegin begin : hir.linearScanOrder()) { | 247 for (BlockBegin begin : hir.linearScanOrder()) { |
248 lirGenerator.doBlock(begin); | 248 lirGenerator.doBlock(begin); |
249 } | 249 } |