org.mozilla.javascript.optimizer.Optimizer.class Maven / Gradle / Ivy
The newest version!
???? 1 ?
( k
l m
$ n
' o $ p
q r
$ s ' t ' u v
k
' w
x y
z
{ | ' }
' ~
$
?
$ ?
$ ?
?
?
?
$ ?
' ?
' ?
?
?
?
?
?
' ?
? ?
?
? ? ? NoType I
ConstantValue
NumberType AnyType inDirectCallFunction Z theFunction 2Lorg/mozilla/javascript/optimizer/OptFunctionNode; parameterUsedInNumberContext ()V Code LineNumberTable LocalVariableTable this ,Lorg/mozilla/javascript/optimizer/Optimizer; optimize *(Lorg/mozilla/javascript/ScriptOrFnNode;)V f i
scriptOrFn 'Lorg/mozilla/javascript/ScriptOrFnNode;
functionCount optimizeFunction 5(Lorg/mozilla/javascript/optimizer/OptFunctionNode;)V statementsArray !Lorg/mozilla/javascript/ObjArray; theStatementNodes [Lorg/mozilla/javascript/Node; markDCPNumberContext (Lorg/mozilla/javascript/Node;)V varIndex n Lorg/mozilla/javascript/Node; convertParameter (Lorg/mozilla/javascript/Node;)Z rewriteForNumberVariables !(Lorg/mozilla/javascript/Node;I)I child type lChild rChild rType lType arrayBase
arrayIndex rValue baseType indexType
rValueType target desired rewriteAsObjectChildren =(Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/Node;)V nuChild nextChild buildStatementList_r A(Lorg/mozilla/javascript/Node;Lorg/mozilla/javascript/ObjArray;)V node
statements
SourceFile Optimizer.java 6 7 ? ? ? ? ? D E ? ? ? ? ? ? ? 1 2 3 4 org/mozilla/javascript/ObjArray e f ? ? org/mozilla/javascript/Node ? ? ? ? ? 5 2 Q R ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? O P J K ? ? ? K 6 ? ? K ? K a b ? ? 0org/mozilla/javascript/optimizer/OptFunctionNode ? b ? ? *org/mozilla/javascript/optimizer/Optimizer java/lang/Object %org/mozilla/javascript/ScriptOrFnNode getFunctionCount ()I get \(Lorg/mozilla/javascript/ScriptOrFnNode;I)Lorg/mozilla/javascript/optimizer/OptFunctionNode; fnode %Lorg/mozilla/javascript/FunctionNode; #org/mozilla/javascript/FunctionNode requiresActivation ()Z isTargetOfDirectCall size toArray ([Ljava/lang/Object;)V &org/mozilla/javascript/optimizer/Block runFlowAnalyzes S(Lorg/mozilla/javascript/optimizer/OptFunctionNode;[Lorg/mozilla/javascript/Node;)V setParameterNumberContext (Z)V getType getVarIndex (Lorg/mozilla/javascript/Node;)I isParameter (I)Z
removeProp (I)V
getFirstChild ()Lorg/mozilla/javascript/Node;
putIntProp (II)V isNumberVar getNext removeChild !(ILorg/mozilla/javascript/Node;)V addChildToBack addChildToFront getProp (I)Ljava/lang/Object; addChildBefore add (Ljava/lang/Object;)V ' ( ) * + , - * + . / * + 0 1 2 3 4 5 2 6 7 8 / *? ? 9 , : ; <