use of com.github.anba.es6draft.compiler.assembler.MethodName in project es6draft by anba.
the class ExpressionGenerator method visit.
/**
* 14.4.14 Runtime Semantics: Evaluation
*/
@Override
public ValType visit(LegacyGeneratorExpression node, CodeVisitor mv) {
MethodName method = codegen.compile(node);
/* steps 1-7 */
mv.invoke(method);
mv.loadExecutionContext();
mv.invoke(Methods.ScriptRuntime_EvaluateLegacyGeneratorExpression);
/* step 8 */
return ValType.Object;
}
use of com.github.anba.es6draft.compiler.assembler.MethodName in project es6draft by anba.
the class CodeGenerator method compileFunction.
void compileFunction(FunctionNode function) {
MethodName method = compile(function);
// add default constructor
defaultFunctionConstructor(function, method);
}
Aggregations