Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/TypedNode.java @ 9219:1964871a642d
Enabled execute evaluated methods in typed node.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 16 Apr 2013 11:03:40 +0200 |
parents | c3ec5230967a |
children | 71991b7a0f14 |
comparison
equal
deleted
inserted
replaced
9218:797bb88bf004 | 9219:1964871a642d |
---|---|
64 | 64 |
65 public boolean isString(Object a, Object b) { | 65 public boolean isString(Object a, Object b) { |
66 return a instanceof String || b instanceof String; | 66 return a instanceof String || b instanceof String; |
67 } | 67 } |
68 | 68 |
69 @SuppressWarnings("unused") | |
70 public Object executeEvaluated(VirtualFrame frame, Object val1) { | |
71 return executeGeneric(frame); | |
72 } | |
73 | |
74 @SuppressWarnings("unused") | |
75 public Object executeEvaluated(VirtualFrame frame, Object val1, Object val2) { | |
76 return executeEvaluated(frame, val1); | |
77 } | |
78 | |
79 @SuppressWarnings("unused") | |
80 public Object executeEvaluated(VirtualFrame frame, Object val1, Object val2, Object val3) { | |
81 return executeEvaluated(frame, val1, val2); | |
82 } | |
83 | |
69 } | 84 } |