summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 581121c2..37192ba0 100644
--- a/function.cpp
+++ b/function.cpp
@@ -110,6 +110,12 @@ bool RegisterValue::IsConstant() const
}
+bool RegisterValue::IsConstantData() const
+{
+ return ((state & ConstantDataValue) == ConstantDataValue);
+}
+
+
BNRegisterValue RegisterValue::ToAPIObject()
{
BNRegisterValue result;