summaryrefslogtreecommitdiff
path: root/src/jit/gcencode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/gcencode.cpp')
-rw-r--r--src/jit/gcencode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/gcencode.cpp b/src/jit/gcencode.cpp
index a05e8eb08d..9cd478bb3a 100644
--- a/src/jit/gcencode.cpp
+++ b/src/jit/gcencode.cpp
@@ -1906,7 +1906,7 @@ PendingArgsStack::PendingArgsStack(unsigned maxDepth, Compiler* pComp)
/* Do we need an array as well as the mask ? */
if (pasMaxDepth > BITS_IN_pasMask)
- pasTopArray = (BYTE*)pComp->compGetMem(pasMaxDepth - BITS_IN_pasMask);
+ pasTopArray = pComp->getAllocator(CMK_Unknown).allocate<BYTE>(pasMaxDepth - BITS_IN_pasMask);
}
//-----------------------------------------------------------------------------