From d2c334065c6cd6efadbb83e58cf974c87c33de2c Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Thu, 18 May 2023 09:46:33 -0400 Subject: [PATCH] Fix compile error due to unused variable Signed-off-by: Keith W. Campbell --- runtime/vm/ValueTypeHelpers.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/vm/ValueTypeHelpers.hpp b/runtime/vm/ValueTypeHelpers.hpp index b24eeb515a7..9f8e3cf9cfc 100644 --- a/runtime/vm/ValueTypeHelpers.hpp +++ b/runtime/vm/ValueTypeHelpers.hpp @@ -567,6 +567,7 @@ class VM_ValueTypeHelpers { return value; } +#if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) /** * Copies an array of non-primitive objects * Handles flattened and non-flattened cases @@ -661,6 +662,7 @@ class VM_ValueTypeHelpers { return 0; } +#endif /* defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES) */ };