[parrot/parrot] b7dac6: in Parrot_ext_try, cache the current context, and ...

noreply at github.com noreply at github.com
Fri Feb 11 02:36:03 UTC 2011


Branch: refs/heads/whiteknight/imcc_compreg_pmc
Home:   https://github.com/parrot/parrot

Commit: b7dac6530e9276a143433c211947a5f7b5171369
    https://github.com/parrot/parrot/commit/b7dac6530e9276a143433c211947a5f7b5171369
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2011-02-10 (Thu, 10 Feb 2011)

Changed paths:
  M compilers/imcc/api.c
  M compilers/imcc/imclexer.c
  M src/extend.c
  M src/interp/inter_create.c

Log Message:
-----------
in Parrot_ext_try, cache the current context, and make sure to go back to it when we are done. This solves an infinite loop problem I was seeing earlier. In inter_create, set interp->ctx to NULL because PMCNULL hasn't been initialized yet so it's just garbage.


Commit: 93a00888be1a5ee4ca452affa343c9116afdad65
    https://github.com/parrot/parrot/commit/93a00888be1a5ee4ca452affa343c9116afdad65
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2011-02-10 (Thu, 10 Feb 2011)

Changed paths:
  M compilers/imcc/api.c
  M compilers/imcc/debug.c
  M src/exit.c

Log Message:
-----------
use the same callin/callout mechanism for the IMCC API as for the normal embedding API. This makes correct error handling much easier. Also, remove the Parrot_x_jump_out_error function. IMCC can jump out now by throwing a normal exception. Through the API it has the API error handling mechanism. Through the compreg it has the normal Parrot exception handling system


Commit: 6620d5f035da8aff9d304df9feed9458988557e2
    https://github.com/parrot/parrot/commit/6620d5f035da8aff9d304df9feed9458988557e2
Author: Whiteknight <wknight8111 at gmail.com>
Date:   2011-02-10 (Thu, 10 Feb 2011)

Changed paths:
  M compilers/imcc/api.c
  M compilers/imcc/debug.c
  M frontend/parrot/main.c
  M include/imcc/api.h
  M include/parrot/exit.h

Log Message:
-----------
fix the frontend to use the new IMCC API functions. almost build again




More information about the parrot-commits mailing list