GP-4976 Only send back <typeref>

This commit is contained in:
caheckman 2024-09-30 22:06:29 +00:00
parent cb5ab633de
commit e80f52c22e
12 changed files with 84 additions and 29 deletions

View file

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -845,7 +845,7 @@ void HighVariable::encode(Encoder &encoder) const
if (symboloffset >= 0)
encoder.writeSignedInteger(ATTRIB_OFFSET, symboloffset);
}
getType()->encode(encoder);
getType()->encodeRef(encoder);
for(int4 j=0;j<inst.size();++j) {
encoder.openElement(ELEM_ADDR);
encoder.writeUnsignedInteger(ATTRIB_REF, inst[j]->getCreateIndex());