mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Expand ParameterAttributes to 32 bits (in preparation
for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -447,7 +447,7 @@ CppWriter::printParamAttrs(const ParamAttrsList* PAL, const std::string &name) {
|
||||
Out << "ParamAttrsWithIndex PAWI;"; nl(Out);
|
||||
for (unsigned i = 0; i < PAL->size(); ++i) {
|
||||
uint16_t index = PAL->getParamIndex(i);
|
||||
uint16_t attrs = PAL->getParamAttrs(index);
|
||||
ParameterAttributes attrs = PAL->getParamAttrs(index);
|
||||
Out << "PAWI.index = " << index << "; PAWI.attrs = 0 ";
|
||||
if (attrs & ParamAttr::SExt)
|
||||
Out << " | ParamAttr::SExt";
|
||||
|
Reference in New Issue
Block a user