comparison graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotBackend.java @ 14847:c132602c640e

Apply LIRGenerator refactoring to SPARC backend.
author Josef Eisl <josef.eisl@jku.at>
date Wed, 26 Mar 2014 16:31:28 +0100
parents 17a735726670
children f6630873316b
comparison
equal deleted inserted replaced
14846:43cd57700476 14847:c132602c640e
77 public FrameMap newFrameMap() { 77 public FrameMap newFrameMap() {
78 return new SPARCFrameMap(getProviders().getCodeCache()); 78 return new SPARCFrameMap(getProviders().getCodeCache());
79 } 79 }
80 80
81 @Override 81 @Override
82 public LIRGenerator newLIRGenerator(StructuredGraph graph, CallingConvention cc, LIRGenerationResult lirGenRes) { 82 public LIRGenerator newLIRGenerator(CallingConvention cc, LIRGenerationResult lirGenRes) {
83 return new SPARCHotSpotLIRGenerator(graph, getProviders(), getRuntime().getConfig(), cc, lirGenRes); 83 return new SPARCHotSpotLIRGenerator(getProviders(), getRuntime().getConfig(), cc, lirGenRes);
84 }
85
86 @Override
87 public NodeLIRGenerator newNodeLIRGenerator(StructuredGraph graph, LIRGenerationResult lirGenRes, LIRGenerator lirGen) {
88 return new SPARCHotSpotNodeLIRGenerator(graph, lirGenRes, lirGen);
84 } 89 }
85 90
86 /** 91 /**
87 * Emits code to do stack overflow checking. 92 * Emits code to do stack overflow checking.
88 * 93 *
243 248
244 @Override 249 @Override
245 public NativeFunctionInterface getNativeFunctionInterface() { 250 public NativeFunctionInterface getNativeFunctionInterface() {
246 throw GraalInternalError.unimplemented("No NativeFunctionInterface of SPARC"); 251 throw GraalInternalError.unimplemented("No NativeFunctionInterface of SPARC");
247 } 252 }
253
248 } 254 }