Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/C1XCompilation.java @ 2850:7474789a8120
Merge
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 07 Jun 2011 11:19:01 +0200 |
parents | 7596ae867a7b |
children |
comparison
equal
deleted
inserted
replaced
2849:463657856f86 | 2850:7474789a8120 |
---|---|
23 | 23 |
24 package com.sun.c1x; | 24 package com.sun.c1x; |
25 | 25 |
26 import java.util.*; | 26 import java.util.*; |
27 | 27 |
28 import com.oracle.graal.graph.*; | |
29 import com.oracle.max.asm.*; | 28 import com.oracle.max.asm.*; |
30 import com.sun.c1x.alloc.*; | 29 import com.sun.c1x.alloc.*; |
31 import com.sun.c1x.asm.*; | 30 import com.sun.c1x.asm.*; |
32 import com.sun.c1x.debug.*; | 31 import com.sun.c1x.debug.*; |
33 import com.sun.c1x.gen.*; | 32 import com.sun.c1x.gen.*; |
34 import com.sun.c1x.gen.LIRGenerator.*; | 33 import com.sun.c1x.gen.LIRGenerator.DeoptimizationStub; |
35 import com.sun.c1x.graph.*; | 34 import com.sun.c1x.graph.*; |
36 import com.sun.c1x.lir.*; | 35 import com.sun.c1x.lir.*; |
37 import com.sun.c1x.observer.*; | 36 import com.sun.c1x.observer.*; |
38 import com.sun.c1x.value.*; | 37 import com.sun.c1x.value.*; |
39 import com.sun.cri.ci.*; | 38 import com.sun.cri.ci.*; |
54 public final RiRegisterConfig registerConfig; | 53 public final RiRegisterConfig registerConfig; |
55 public final CiStatistics stats; | 54 public final CiStatistics stats; |
56 public final CiAssumptions assumptions = new CiAssumptions(); | 55 public final CiAssumptions assumptions = new CiAssumptions(); |
57 public final FrameState placeholderState; | 56 public final FrameState placeholderState; |
58 | 57 |
59 public Graph graph = new Graph(); | 58 public CompilerGraph graph = new CompilerGraph(); |
60 | 59 |
61 private boolean hasExceptionHandlers; | 60 private boolean hasExceptionHandlers; |
62 private final C1XCompilation parent; | 61 private final C1XCompilation parent; |
63 | 62 |
64 /** | 63 /** |
94 this.target = compiler.target; | 93 this.target = compiler.target; |
95 this.runtime = compiler.runtime; | 94 this.runtime = compiler.runtime; |
96 this.method = method; | 95 this.method = method; |
97 this.stats = stats == null ? new CiStatistics() : stats; | 96 this.stats = stats == null ? new CiStatistics() : stats; |
98 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method); | 97 this.registerConfig = method == null ? compiler.globalStubRegisterConfig : runtime.getRegisterConfig(method); |
99 this.placeholderState = method != null && method.minimalDebugInfo() ? new FrameState(0, 0, 0, 0, graph) : null; | 98 this.placeholderState = method != null && method.minimalDebugInfo() ? new FrameState(method, 0, 0, 0, 0, graph) : null; |
100 | 99 |
101 if (compiler.isObserved()) { | 100 if (compiler.isObserved()) { |
102 compiler.fireCompilationStarted(new CompilationEvent(this)); | 101 compiler.fireCompilationStarted(new CompilationEvent(this)); |
103 } | 102 } |
104 } | 103 } |