Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator#setInstructionList()

The following examples show how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator#setInstructionList() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Expression.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 2
Source File: TopLevelElement.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 3
Source File: Expression.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 4
Source File: TopLevelElement.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 5
Source File: Expression.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 6
Source File: TopLevelElement.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 7
Source File: Expression.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 8
Source File: TopLevelElement.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 9
Source File: Expression.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 10
Source File: TopLevelElement.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 11
Source File: Expression.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 12
Source File: TopLevelElement.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 13
Source File: Expression.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 14
Source File: TopLevelElement.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 15
Source File: Expression.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 16
Source File: TopLevelElement.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 17
Source File: Expression.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 18
Source File: TopLevelElement.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 19
Source File: Expression.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public final InstructionList compile(ClassGenerator classGen,
                                     MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}
 
Example 20
Source File: TopLevelElement.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Translate this node into a fresh instruction list.
 * The original instruction list is saved and restored.
 */
public InstructionList compile(ClassGenerator classGen,
                               MethodGenerator methodGen) {
    final InstructionList result, save = methodGen.getInstructionList();
    methodGen.setInstructionList(result = new InstructionList());
    translate(classGen, methodGen);
    methodGen.setInstructionList(save);
    return result;
}