Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/SpecializationListenerParser.java @ 8592:a80bf36c6a1e
Refactor to shared template method signature comparison.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 01 Apr 2013 11:52:38 +0200 |
parents | 703c09f8640c |
children | 54e227b2e199 |
comparison
equal
deleted
inserted
replaced
8591:5c58da5b8233 | 8592:a80bf36c6a1e |
---|---|
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); | 46 return new ParameterSpec("void", getContext().getType(void.class), false, false); |
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); |