Skip to content

Commit

Permalink
coro: oops, cannot inline funcs from different object files
Browse files Browse the repository at this point in the history
failed with --optimize
  • Loading branch information
Reini Urban committed Oct 18, 2014
1 parent 91a4328 commit be4da7e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions include/parrot/sub.h
Expand Up @@ -197,13 +197,11 @@ PMC* Parrot_sub_new_closure(PARROT_INTERP, ARGIN(PMC *sub_pmc))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

PARROT_INLINE
void Parrot_sub_continuation_check(PARROT_INTERP, ARGIN(const PMC *pmc))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

PARROT_CAN_RETURN_NULL
PARROT_INLINE
PMC * Parrot_sub_continuation_rewind_environment(PARROT_INTERP,
ARGIN(PMC *pmc))
__attribute__nonnull__(1)
Expand Down
2 changes: 0 additions & 2 deletions src/sub.c
Expand Up @@ -466,7 +466,6 @@ Verifies that the provided continuation is sane.
*/

PARROT_INLINE
void
Parrot_sub_continuation_check(PARROT_INTERP, ARGIN(const PMC *pmc))
{
Expand All @@ -489,7 +488,6 @@ Restores the appropriate context for the continuation.
*/

PARROT_CAN_RETURN_NULL
PARROT_INLINE
PMC *
Parrot_sub_continuation_rewind_environment(PARROT_INTERP, ARGIN(PMC *pmc))
{
Expand Down

0 comments on commit be4da7e

Please sign in to comment.