Edwin Smith
288d4993e2
Remove allocElmFast; its only called in one place.
...
It used to have two callsites before the vector code landed.
Differential Revision: D932789
2013-08-21 09:33:13 -07:00
Edwin Smith
2f927eb29a
Get rid of optional arguments in HphpArray helpers.
...
This just obscures what's going on and is making refactoring
more difficult.
Differential Revision: D927215
2013-08-15 15:19:34 -07:00
Bert Maher
b7034ab930
Allow guarding tracelets on ArrayKind
...
Enable guarding tracelets on ArrayKind when we can generate
better code for a specific kind.
Added specialized helpers for CGetM, FPassM, and IssetM of
vector-shaped arrays. This eliminates an indirect call and allows the
entire array-access call stack to be inlined into the helper
Differential Revision: D873631
2013-08-12 11:32:58 -07:00
Edwin Smith
860d410367
Streamline NewTuple and NewArray helpers
...
Rearrange the code so when we allocate an array from JIT code,
we call one helper where most of the code is inline.
Differential Revision: D917956
2013-08-08 09:11:24 -07:00
Edwin Smith
783301a6f8
Rewrite findBody and findForInsertBody as functions taking lambdas.
...
The way we use these macros is exactly what lambdas are for, so
give it a try.
Differential Revision: D916121
2013-08-07 09:55:22 -07:00
Edwin Smith
de4259e8ae
Rename rest of files in runtime/base
...
Differential Revision: D913884
2013-08-06 09:23:21 -07:00