From bb467f6f04b109835332f16421581f10b66f1384 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 17 Aug 2015 15:28:05 +0000 Subject: Revert "[LLDB] Use llvm::APInt and llvm::APFloat in Scalar and RegisterValue" Reverting as this commit causes an infinite loop. llvm-svn: 245222 --- lldb/source/Core/ValueObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/ValueObject.cpp') diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index 90e73c44088..3d757bd4a07 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -1897,7 +1897,7 @@ ValueObject::SetValueFromCString (const char *value_str, Error& error) // If the value is already a scalar, then let the scalar change itself: m_value.GetScalar().SetValueFromCString (value_str, encoding, byte_size); } - else if (byte_size <= 16) + else if (byte_size <= Scalar::GetMaxByteSize()) { // If the value fits in a scalar, then make a new scalar and again let the // scalar code do the conversion, then figure out where to put the new value. -- cgit v1.2.3