Skip to content

Commit

Permalink
Fix a Typo in the Server Query for the Vector API
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
luke-li-2003 committed Nov 28, 2024
1 parent 752c652 commit 996c53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/optimizer/VectorAPIExpansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uintptr_t>());
}
else
Expand Down

0 comments on commit 996c53b

Please sign in to comment.