| 597 | #ifdef CPPIA_JIT |
| 598 | |
| 599 | static hx::Object * SLJIT_CALL runProcess( ArrayAnyImpl *inArray, hx::Object *inFunction) |
| 600 | { |
| 601 | TRY_NATIVE |
| 602 | if (FUNC==afMap) |
| 603 | { |
| 604 | return inArray->map(Dynamic(inFunction)).mPtr; |
| 605 | } |
| 606 | else |
| 607 | { |
| 608 | return inArray->filter(Dynamic(inFunction)).mPtr; |
| 609 | } |
| 610 | CATCH_NATIVE |
| 611 | return 0; |
| 612 | } |