summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorGerard Goossen <gerard@ggoossen.net>2011-06-15 11:32:53 +0200
committerFather Chrysostomos <sprout@cpan.org>2011-07-28 14:50:19 -0700
commitd164302a58430157957e90a71e7a08de7eabbc94 (patch)
treeef2c4e6757d48ab0322715c9515be6118dcd39e0 /embed.h
parent9feb131675d04c74cc7462275ae5b70055f1c4ba (diff)
downloadperl-d164302a58430157957e90a71e7a08de7eabbc94.tar.gz
Add finalize_optree function which can take over all the compile time checking/finalization now being done by the peephole optimizer.
This function takes the optree after it is finished building. It takes over some of the checking and final conversions which are currently being done by the peephole optimizer. Add the moment this is an unnecessary extra step after the peephole optimizer, but with a separate code generation step, the current peephole optimizer can't exists and this function will take over all its essential compile time functions.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index f0b8214e2e..b15a92e417 100644
--- a/embed.h
+++ b/embed.h
@@ -1035,6 +1035,7 @@
#define dump_all_perl(a) Perl_dump_all_perl(aTHX_ a)
#define dump_packsubs_perl(a,b) Perl_dump_packsubs_perl(aTHX_ a,b)
#define dump_sub_perl(a,b) Perl_dump_sub_perl(aTHX_ a,b)
+#define finalize_optree(a) Perl_finalize_optree(aTHX_ a)
#define find_script(a,b,c,d) Perl_find_script(aTHX_ a,b,c,d)
#define free_tied_hv_pool() Perl_free_tied_hv_pool(aTHX)
#define get_hash_seed() Perl_get_hash_seed(aTHX)
@@ -1336,6 +1337,7 @@
#define bad_type(a,b,c,d) S_bad_type(aTHX_ a,b,c,d)
#define cop_free(a) S_cop_free(aTHX_ a)
#define dup_attrlist(a) S_dup_attrlist(aTHX_ a)
+#define finalize_op(a) S_finalize_op(aTHX_ a)
#define find_and_forget_pmops(a) S_find_and_forget_pmops(aTHX_ a)
#define fold_constants(a) S_fold_constants(aTHX_ a)
#define force_list(a) S_force_list(aTHX_ a)