From 996c53b5ca029f1b79fd29f113dec42361ffba94 Mon Sep 17 00:00:00 2001 From: Luke Li Date: Thu, 28 Nov 2024 09:41:57 -0500 Subject: [PATCH] Fix a Typo in the Server Query for the Vector API Fix a typo that is causing the client to segfault in server mode; it had never been detected because we were not reaching the Vector API in server mode before. Signed-off-by: Luke Li --- runtime/compiler/optimizer/VectorAPIExpansion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/compiler/optimizer/VectorAPIExpansion.cpp b/runtime/compiler/optimizer/VectorAPIExpansion.cpp index db4e844279e..9d812899962 100644 --- a/runtime/compiler/optimizer/VectorAPIExpansion.cpp +++ b/runtime/compiler/optimizer/VectorAPIExpansion.cpp @@ -697,7 +697,7 @@ TR_VectorAPIExpansion::getOpaqueClassBlockFromClassNode(TR::Compilation *comp, T { auto stream = comp->getStream(); stream->write(JITServer::MessageType::KnownObjectTable_getOpaqueClass, - symRef->getKnownObjectIndex()); + knownObjectIndex); clazz = (TR_OpaqueClassBlock *)std::get<0>(stream->read()); } else