Creates two new classes IntermediateStack and IntermediateInput to replace Node. Right now these two classes almost the same, they contain an opcode and an object of inputs that contains all the values the Node type used to contain (other than kind).
In the next PR type information will be attached to IntermediateInput (so it can replace jsgen's TypedInput, VariableInput and ConstantInput) and eventually more complex type analysis info will be attached to IntermediateStack so they should be two separate classes.
Additionally, renamed the enums to StackOpcode and InputOpcode to better reflect their purpose.
Creates two new classes
IntermediateStack
andIntermediateInput
to replaceNode
. Right now these two classes almost the same, they contain an opcode and an object of inputs that contains all the values theNode
type used to contain (other thankind
).In the next PR type information will be attached to
IntermediateInput
(so it can replace jsgen'sTypedInput
,VariableInput
andConstantInput
) and eventually more complex type analysis info will be attached toIntermediateStack
so they should be two separate classes.Additionally, renamed the enums to
StackOpcode
andInputOpcode
to better reflect their purpose.