Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/SpecializationListenerParser.java @ 8593:54e227b2e199
Refactored ParameterSpec constructors.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 01 Apr 2013 12:14:54 +0200 |
parents | a80bf36c6a1e |
children | ce6e8672f798 |
comparison
equal
deleted
inserted
replaced
8592:a80bf36c6a1e | 8593:54e227b2e199 |
---|---|
41 return createDefaultMethodSpec(method, mirror, null); | 41 return createDefaultMethodSpec(method, mirror, null); |
42 } | 42 } |
43 | 43 |
44 @Override | 44 @Override |
45 protected ParameterSpec createReturnParameterSpec() { | 45 protected ParameterSpec createReturnParameterSpec() { |
46 return new ParameterSpec("void", getContext().getType(void.class), false, false); | 46 return new ParameterSpec("void", getContext().getType(void.class)); |
47 } | 47 } |
48 | 48 |
49 @Override | 49 @Override |
50 public SpecializationListenerData create(TemplateMethod method) { | 50 public SpecializationListenerData create(TemplateMethod method) { |
51 return new SpecializationListenerData(method); | 51 return new SpecializationListenerData(method); |