Skip to content

Commit e90f9b4

Browse files
authored
[clang][bytecode] Print desriptor PrimType in dump() (#125726)
1 parent 8d037b9 commit e90f9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ByteCode/Disasm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ LLVM_DUMP_METHOD void Descriptor::dump(llvm::raw_ostream &OS) const {
240240
else if (isRecord())
241241
OS << " record";
242242
else if (isPrimitive())
243-
OS << " primitive";
243+
OS << " primitive " << primTypeToString(getPrimType());
244244

245245
if (isZeroSizeArray())
246246
OS << " zero-size-array";

0 commit comments

Comments
 (0)