| 66 | |
| 67 | |
| 68 | void GEN_hidden_variables(DsqlCompilerScratch* dsqlScratch) |
| 69 | { |
| 70 | /************************************** |
| 71 | * |
| 72 | * G E N _ h i d d e n _ v a r i a b l e s |
| 73 | * |
| 74 | ************************************** |
| 75 | * |
| 76 | * Function |
| 77 | * Emit BLR for hidden variables. |
| 78 | * |
| 79 | **************************************/ |
| 80 | |
| 81 | for (const auto var : dsqlScratch->hiddenVariables) |
| 82 | { |
| 83 | dsqlScratch->appendUChar(blr_dcl_variable); |
| 84 | dsqlScratch->appendUShort(var->number); |
| 85 | GEN_descriptor(dsqlScratch, &var->desc, true); |
| 86 | } |
| 87 | |
| 88 | // Clear it for GEN_expr not regenerate them. |
| 89 | dsqlScratch->hiddenVariables.clear(); |
| 90 | } |
| 91 | |
| 92 | |
| 93 | /** |
no test coverage detected