[Lldb-commits] [lldb] r364223 - [ABI] Remove unused variables in ABIWindows_x86_64

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 24 12:43:22 PDT 2019


Author: xiaobai
Date: Mon Jun 24 12:43:22 2019
New Revision: 364223

URL: http://llvm.org/viewvc/llvm-project?rev=364223&view=rev
Log:
[ABI] Remove unused variables in ABIWindows_x86_64

Modified:
    lldb/trunk/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp

Modified: lldb/trunk/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp?rev=364223&r1=364222&r2=364223&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp Mon Jun 24 12:43:22 2019
@@ -1653,8 +1653,6 @@ ValueObjectSP ABIWindows_x86_64::GetRetu
       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::GetRetu
 
       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)) {




More information about the lldb-commits mailing list