最近终于把Phoenix的FlowGraph的源代码研究透了,现在发一些笔记上来,有机会再发上来一起讨论源代码。
Member name | Description |
SsaPhiInstruction | Instruction kind is SsaPhiInstruction 11 |
DataInstruction | Instruction kind is DataInstruction 10 |
LabelInstruction | Instruction kind is LabelInstruction 9 |
PragmaInstruction | Instruction kind is PragmaInstruction 8 |
OutlineInstruction | Instruction kind is OutlineInstruction 7 |
SwitchInstruction | Instruction kind is SwitchInstruction 5 |
BranchInstruction | Instruction kind is BranchInstruction 4 |
ValueInstruction | Instruction kind is ValueInstruction 2 |
UpperSentinel | Max number Instruction kinds 8 |
CallInstruction | Instruction kind is CallInstruction 6 |
CompareInstruction | Instruction kind is CompareInstruction 3 |
Instruction | Instruction kind is Instruction 1 |
IllegalSentinel | Instruction kind is illegal 0 |
后面的数字是这个枚举类型的bytes值,一想到这里就要超级鄙视一下写phoenix框架的那些家伙,变量的命名一点都不规范,充满了num1、num2这样的变量名!!