Permalink
Browse files

eliminate deprecated .meth_call PIR form

this is simply an outdated alias for .call
  • Loading branch information...
1 parent 0994a6b commit 9bdc32db4ab2135ad76ec27d46369e767ac17062 @plobsing plobsing committed Nov 18, 2010
View
@@ -308,7 +308,6 @@ SP [ ]
".begin_call" return PCC_BEGIN;
".end_call" return PCC_END;
".call" return PCC_CALL;
-".meth_call" return METH_CALL;
".invocant" return INVOCANT;
<emit,INITIAL>".pcc_sub" return PCC_SUB;
".begin_return" return PCC_BEGIN_RETURN;
View
@@ -1011,7 +1011,7 @@ do_loadlib(PARROT_INTERP, ARGIN(const char *lib))
%token <t> POW SHIFT_RIGHT_U LOG_AND LOG_OR
%token <t> COMMA ESUB DOTDOT
%token <t> PCC_BEGIN PCC_END PCC_CALL PCC_SUB PCC_BEGIN_RETURN PCC_END_RETURN
-%token <t> PCC_BEGIN_YIELD PCC_END_YIELD METH_CALL INVOCANT
+%token <t> PCC_BEGIN_YIELD PCC_END_YIELD INVOCANT
%token <t> MAIN LOAD INIT IMMEDIATE POSTCOMP METHOD ANON OUTER NEED_LEX
%token <t> MULTI VTABLE_METHOD LOADLIB SUB_INSTANCE_OF SUBID
%token <t> NS_ENTRY
@@ -1579,25 +1579,6 @@ pcc_call:
{
add_pcc_sub(IMCC_INFO(interp)->cur_call, $2);
}
- | METH_CALL target '\n'
- {
- add_pcc_sub(IMCC_INFO(interp)->cur_call, $2);
- }
- | METH_CALL STRINGC '\n'
- {
- add_pcc_sub(IMCC_INFO(interp)->cur_call, mk_const(interp, $2, 'S'));
- }
- | METH_CALL target COMMA var '\n'
- {
- add_pcc_sub(IMCC_INFO(interp)->cur_call, $2);
- add_pcc_cc(IMCC_INFO(interp)->cur_call, $4);
- }
- | METH_CALL STRINGC COMMA var '\n'
- {
- add_pcc_sub(IMCC_INFO(interp)->cur_call, mk_const(interp, $2, 'S'));
- add_pcc_cc(IMCC_INFO(interp)->cur_call, $4);
- }
- ;
pcc_args:
View

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9bdc32d

Please sign in to comment.