summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object.h b/src/object.h
index 80a4ce92d1..e5036e61a7 100644
--- a/src/object.h
+++ b/src/object.h
@@ -755,6 +755,10 @@ class MANAGED Method : public AccessibleObject {
bool IsReturnALong() const;
+ bool IsReturnALongOrDouble() const {
+ return IsReturnALong() || IsReturnADouble();
+ }
+
bool IsReturnVoid() const;
// "Args" may refer to any of the 3 levels of "Args."