Skip to content

Commit 7bf847c

Browse files
committed
[lldb] Fix a lldb failure following llvm#165707
1 parent deb54ba commit 7bf847c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,9 @@ ABISysV_arc::GetReturnValueObjectSimple(Thread &thread,
480480
}
481481
// Floating point return type.
482482
else if (type_flags & eTypeIsFloat) {
483-
uint32_t float_count = 0;
484483
bool is_complex = false;
485484

486-
if (compiler_type.IsFloatingPointType(float_count, is_complex) &&
487-
1 == float_count && !is_complex) {
485+
if (compiler_type.IsFloatingPointType(is_complex) && !is_complex) {
488486
const size_t byte_size =
489487
llvm::expectedToOptional(compiler_type.GetByteSize(&thread))
490488
.value_or(0);

0 commit comments

Comments
 (0)