Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/ShortCircuitData.java @ 9217:61ba6fc21ba4
Sourcegen can now generate execute methods of signature execute(frame, evaluatedValue).
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 15 Apr 2013 18:50:19 +0200 |
parents | 89006c76f737 |
children |
comparison
equal
deleted
inserted
replaced
9216:8b9ea2f5c36e | 9217:61ba6fc21ba4 |
---|---|
60 return true; | 60 return true; |
61 } | 61 } |
62 | 62 |
63 for (ActualParameter param : getParameters()) { | 63 for (ActualParameter param : getParameters()) { |
64 ActualParameter specializationParam = specialization.findParameter(param.getLocalName()); | 64 ActualParameter specializationParam = specialization.findParameter(param.getLocalName()); |
65 if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { | 65 if (!Utils.typeEquals(param.getType(), specializationParam.getType())) { |
66 return false; | 66 return false; |
67 } | 67 } |
68 } | 68 } |
69 return true; | 69 return true; |
70 } | 70 } |