diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
| commit | 145449b1e420787bb99721a429341fa6be3adfb6 (patch) | |
| tree | 1d56ae694a6de602e348dd80165cf881a36600ed /lldb/source/Core/Value.cpp | |
| parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
Diffstat (limited to 'lldb/source/Core/Value.cpp')
| -rw-r--r-- | lldb/source/Core/Value.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp index fb57c0fedf04..2b60dd6f00fa 100644 --- a/lldb/source/Core/Value.cpp +++ b/lldb/source/Core/Value.cpp @@ -41,13 +41,10 @@ using namespace lldb_private; Value::Value() : m_value(), m_compiler_type(), m_data_buffer() {} Value::Value(const Scalar &scalar) - : m_value(scalar), m_compiler_type(), m_context(nullptr), - m_value_type(ValueType::Scalar), m_context_type(ContextType::Invalid), - m_data_buffer() {} + : m_value(scalar), m_compiler_type(), m_data_buffer() {} Value::Value(const void *bytes, int len) - : m_value(), m_compiler_type(), m_context(nullptr), - m_value_type(ValueType::HostAddress), m_context_type(ContextType::Invalid), + : m_value(), m_compiler_type(), m_value_type(ValueType::HostAddress), m_data_buffer() { SetBytes(bytes, len); } @@ -665,13 +662,6 @@ void Value::ConvertToLoadAddress(Module *module, Target *target) { GetScalar() = load_addr; } -ValueList::ValueList(const ValueList &rhs) { m_values = rhs.m_values; } - -const ValueList &ValueList::operator=(const ValueList &rhs) { - m_values = rhs.m_values; - return *this; -} - void ValueList::PushValue(const Value &value) { m_values.push_back(value); } size_t ValueList::GetSize() { return m_values.size(); } |
