Append the params required when passing this as a function parameter.
| 42 | |
| 43 | // Append the params required when passing this as a function parameter. |
| 44 | virtual void AppendFunctionParams(std::vector<llvm::Value*>* params) { |
| 45 | params->push_back(data_); |
| 46 | if (length_ != NULLPTR) { |
| 47 | params->push_back(length_); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | private: |
| 52 | llvm::Value* data_; |