Skip to content

Commit

Permalink
Merge pull request #6910 from dchopra001/VIThunks
Browse files Browse the repository at this point in the history
Use correct front end query when allocating VI Thunks
  • Loading branch information
mpirvu authored Sep 4, 2019
2 parents bf119d3 + 92dbefc commit a7dbfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/z/codegen/S390J9CallSnippet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TR::S390J9CallSnippet::generateVIThunk(TR::Node * callNode, int32_t argSize, TR:
uint8_t * thunk, * cursor, * returnValue;
TR::SymbolReference *dispatcherSymbol;

if (comp->compileRelocatableCode())
if (fej9->storeOffsetToArgumentsInVirtualIndirectThunks())
thunk = (uint8_t *)comp->trMemory()->allocateMemory(codeSize, heapAlloc);
else
thunk = (uint8_t *)cg->allocateCodeMemory(codeSize, true);
Expand Down

0 comments on commit a7dbfa6

Please sign in to comment.