| 68 | DistributionTable Expression::paramTable_; |
| 69 | |
| 70 | void |
| 71 | Expression::InitExprProbabilityTable() |
| 72 | { |
| 73 | exprTable_.add_entry((int)eFunction, 70); |
| 74 | exprTable_.add_entry((int)eVariable, 20); |
| 75 | exprTable_.add_entry((int)eConstant, 10); |
| 76 | if (CGOptions::use_embedded_assigns()) { |
| 77 | exprTable_.add_entry((int)eAssignment, 10); |
| 78 | } |
| 79 | if (CGOptions::use_comma_exprs()) { |
| 80 | exprTable_.add_entry((int)eCommaExpr, 10); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void |
| 85 | Expression::InitParamProbabilityTable() |