comparison graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java @ 2842:7596ae867a7b

basic inlining passes all tests, including optimistic inlining
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 01 Jun 2011 16:26:17 +0200
parents 75e0d39833a0
children 7474789a8120
comparison
equal deleted inserted replaced
2841:633e66de40fe 2842:7596ae867a7b
94 this.target = compiler.target; 94 this.target = compiler.target;
95 this.runtime = compiler.runtime; 95 this.runtime = compiler.runtime;
96 this.method = method; 96 this.method = method;
97 this.stats = stats == null ? new CiStatistics() : stats; 97 this.stats = stats == null ? new CiStatistics() : stats;
98 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method); 98 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method);
99 this.placeholderState = method != null && method.minimalDebugInfo() ? new FrameState(0, 0, 0, 0, graph) : null; 99 this.placeholderState = method != null && method.minimalDebugInfo() ? new FrameState(method, 0, 0, 0, 0, graph) : null;
100 100
101 if (compiler.isObserved()) { 101 if (compiler.isObserved()) {
102 compiler.fireCompilationStarted(new CompilationEvent(this)); 102 compiler.fireCompilationStarted(new CompilationEvent(this));
103 } 103 }
104 } 104 }