diff options
author | Alex Langford <apl@fb.com> | 2019-06-24 19:43:22 +0000 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2019-06-24 19:43:22 +0000 |
commit | 73901961ee1a43e569b23ec721ed5e1e7b14e621 (patch) | |
tree | f206fba36956931406cb64ae79f444e34fea526b /lldb/source/Plugins/ABI | |
parent | b1f01e27ec0cea2f28eaa2026aa1e63a3b2ae0f0 (diff) | |
download | bcm5719-llvm-73901961ee1a43e569b23ec721ed5e1e7b14e621.tar.gz bcm5719-llvm-73901961ee1a43e569b23ec721ed5e1e7b14e621.zip |
[ABI] Remove unused variables in ABIWindows_x86_64
llvm-svn: 364223
Diffstat (limited to 'lldb/source/Plugins/ABI')
-rw-r--r-- | lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp b/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp index 843b3704ee3..5dc7717d865 100644 --- a/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp +++ b/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp @@ -1653,8 +1653,6 @@ ValueObjectSP ABIWindows_x86_64::GetReturnValueObjectImpl( uint32_t field_byte_width = (uint32_t) (*field_compiler_type.GetByteSize(&thread)); uint32_t field_byte_offset = aggregate_field_offsets[idx]; - uint32_t field_bit_width = field_byte_width * 8; - // this is unlikely w/o the overall size being greater than 8 bytes // For now, return a nullptr return value object. if (used_bytes >= 8 || used_bytes + field_byte_width > 8) { @@ -1663,8 +1661,6 @@ ValueObjectSP ABIWindows_x86_64::GetReturnValueObjectImpl( DataExtractor *copy_from_extractor = nullptr; uint32_t copy_from_offset = 0; - const uint32_t field_byte_flags = field_compiler_type.GetTypeInfo(); - if (field_compiler_type.IsIntegerOrEnumerationType(is_signed) || field_compiler_type.IsPointerType() || field_compiler_type.IsFloatingPointType(count, is_complex)) { |