use of org.mmtk.harness.lang.runtime.Value in project JikesRVM by JikesRVM.
the class PrintOp method exec.
@Override
public void exec(Env env) {
StringBuffer buf = new StringBuffer();
Value[] operandValues = getOperandValues(env.top());
for (Value val : operandValues) {
buf.append(val.toString());
}
System.err.println(buf.toString());
}
use of org.mmtk.harness.lang.runtime.Value in project JikesRVM by JikesRVM.
the class CallIntrinsicOp method exec.
@Override
public void exec(Env env) {
StackFrame frame = env.top();
Value[] actuals = getOperandValues(frame);
if (hasResult) {
setResult(frame, method.eval(env, actuals));
} else {
method.exec(env, actuals);
}
}
Aggregations