diff options
Diffstat (limited to 'src/jit/regset.cpp')
-rw-r--r-- | src/jit/regset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/regset.cpp b/src/jit/regset.cpp index 1ff5ee023f..7896fa25b8 100644 --- a/src/jit/regset.cpp +++ b/src/jit/regset.cpp @@ -1065,7 +1065,7 @@ RegSet::SpillDsc* RegSet::SpillDsc::alloc(Compiler* pComp, RegSet* regSet, var_t } else { - spill = (RegSet::SpillDsc*)pComp->compGetMem(sizeof(SpillDsc)); + spill = pComp->getAllocator().allocate<SpillDsc>(1); } return spill; } |