| 82 | } |
| 83 | |
| 84 | void |
| 85 | Expression::InitParamProbabilityTable() |
| 86 | { |
| 87 | paramTable_.add_entry((int)eFunction, 40); |
| 88 | paramTable_.add_entry((int)eVariable, 40); |
| 89 | // constant parameters lead to non-interesting code |
| 90 | paramTable_.add_entry((int)eConstant, 0); |
| 91 | if (CGOptions::use_embedded_assigns()) { |
| 92 | paramTable_.add_entry((int)eAssignment, 10); |
| 93 | } |
| 94 | if (CGOptions::use_comma_exprs()) { |
| 95 | paramTable_.add_entry((int)eCommaExpr, 10); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | void |
| 100 | Expression::InitProbabilityTables() |