nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunctionData.java
changeset 26503 3ed48a01100c
parent 26068 5488f52c2788
child 26768 751b0f427090
equal deleted inserted replaced
26502:71d3891037bb 26503:3ed48a01100c
    88     public static final int NEEDS_CALLEE   = 1 << 3;
    88     public static final int NEEDS_CALLEE   = 1 << 3;
    89     /** Does this function make use of the this-object argument? */
    89     /** Does this function make use of the this-object argument? */
    90     public static final int USES_THIS      = 1 << 4;
    90     public static final int USES_THIS      = 1 << 4;
    91     /** Is this a variable arity function? */
    91     /** Is this a variable arity function? */
    92     public static final int IS_VARIABLE_ARITY = 1 << 5;
    92     public static final int IS_VARIABLE_ARITY = 1 << 5;
    93     /** Is this declared in a dynamic context */
       
    94     public static final int IN_DYNAMIC_CONTEXT = 1 << 6;
       
    95 
    93 
    96     /** Flag for strict or built-in functions */
    94     /** Flag for strict or built-in functions */
    97     public static final int IS_STRICT_OR_BUILTIN = IS_STRICT | IS_BUILTIN;
    95     public static final int IS_STRICT_OR_BUILTIN = IS_STRICT | IS_BUILTIN;
    98     /** Flag for built-in constructors */
    96     /** Flag for built-in constructors */
    99     public static final int IS_BUILTIN_CONSTRUCTOR = IS_BUILTIN | IS_CONSTRUCTOR;
    97     public static final int IS_BUILTIN_CONSTRUCTOR = IS_BUILTIN | IS_CONSTRUCTOR;