summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-09 21:32:50 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-09 21:32:50 +0000
commit75c20bacb9ae327aacf009e8bfd9ed768a1e07b1 (patch)
tree95ef0d13a76f6ee3482b8c22c68f6f2e5781812d /embed.fnc
parentb640a14ad99660810209db046b8d70831781c646 (diff)
downloadperl-75c20bacb9ae327aacf009e8bfd9ed768a1e07b1.tar.gz
If PERL_DISABLE_PMC is defined, doopen_pm() is just a direct call to
check_type_and_open(). So for this case make it a macro, to save a level of function call. p4raw-id: //depot/perl@32088
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 6030e5c453..d4fa4be829 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1324,7 +1324,9 @@ sR |I32 |dopoptowhen |I32 startingblock
s |void |save_lines |NULLOK AV *array|NN SV *sv
s |bool |doeval |int gimme|NULLOK OP** startop|NULLOK CV* outside|U32 seq
sR |PerlIO *|check_type_and_open|NN const char *name
+#ifndef PERL_DISABLE_PMC
sR |PerlIO *|doopen_pm |NN const char *name|const STRLEN namelen
+#endif
sRn |bool |path_is_absolute|NN const char *name
sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
sR |PMOP* |make_matcher |NN regexp* re