summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObject.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-08-17 15:28:05 +0000
committerPavel Labath <labath@google.com>2015-08-17 15:28:05 +0000
commitbb467f6f04b109835332f16421581f10b66f1384 (patch)
tree51f49942105ca5c68539341ec60f9609d3ae48f0 /lldb/source/Core/ValueObject.cpp
parent1ee99a8b46839073361f72e4179f1bb9b7aad74d (diff)
downloadbcm5719-llvm-bb467f6f04b109835332f16421581f10b66f1384.tar.gz
bcm5719-llvm-bb467f6f04b109835332f16421581f10b66f1384.zip
Revert "[LLDB] Use llvm::APInt and llvm::APFloat in Scalar and RegisterValue"
Reverting as this commit causes an infinite loop. llvm-svn: 245222
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r--lldb/source/Core/ValueObject.cpp2
1 files changed, 1 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud