Added usage of OrdinalAllocator for parameter allocation in compiler.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>