diff --git a/mozilla/js/js2/tools/genmap.pl b/mozilla/js/js2/tools/genmap.pl index b39ea53ef6b..ef4223e06aa 100644 --- a/mozilla/js/js2/tools/genmap.pl +++ b/mozilla/js/js2/tools/genmap.pl @@ -134,7 +134,7 @@ sub get_map { my $p; @ot = (); for $p (@params) { - if ($p eq "ArgumentList") { + if ($p eq "ArgumentList*") { push (@ot, "otArgumentList"); } elsif ($p eq "BinaryOperator::BinaryOp") { push (@ot, "otBinaryOp"); diff --git a/mozilla/js/js2/tools/jsicodes.pm b/mozilla/js/js2/tools/jsicodes.pm index 5f9294a9a47..51be5ebd5ff 100644 --- a/mozilla/js/js2/tools/jsicodes.pm +++ b/mozilla/js/js2/tools/jsicodes.pm @@ -339,13 +339,13 @@ $ops{"CALL"} = { super => "Instruction_4", rem => "result, target, this, args", - params => [ ("TypedRegister", "TypedRegister", "TypedRegister", "ArgumentList") ] + params => [ ("TypedRegister", "TypedRegister", "TypedRegister", "ArgumentList*") ] }; $ops{"DIRECT_CALL"} = { super => "Instruction_3", rem => "result, target, args", - params => [ ("TypedRegister", "JSFunction*", "ArgumentList") ] + params => [ ("TypedRegister", "JSFunction*", "ArgumentList*") ] }; $ops{"GET_METHOD"} = { diff --git a/mozilla/js2/tools/genmap.pl b/mozilla/js2/tools/genmap.pl index b39ea53ef6b..ef4223e06aa 100644 --- a/mozilla/js2/tools/genmap.pl +++ b/mozilla/js2/tools/genmap.pl @@ -134,7 +134,7 @@ sub get_map { my $p; @ot = (); for $p (@params) { - if ($p eq "ArgumentList") { + if ($p eq "ArgumentList*") { push (@ot, "otArgumentList"); } elsif ($p eq "BinaryOperator::BinaryOp") { push (@ot, "otBinaryOp"); diff --git a/mozilla/js2/tools/jsicodes.pm b/mozilla/js2/tools/jsicodes.pm index 5f9294a9a47..51be5ebd5ff 100644 --- a/mozilla/js2/tools/jsicodes.pm +++ b/mozilla/js2/tools/jsicodes.pm @@ -339,13 +339,13 @@ $ops{"CALL"} = { super => "Instruction_4", rem => "result, target, this, args", - params => [ ("TypedRegister", "TypedRegister", "TypedRegister", "ArgumentList") ] + params => [ ("TypedRegister", "TypedRegister", "TypedRegister", "ArgumentList*") ] }; $ops{"DIRECT_CALL"} = { super => "Instruction_3", rem => "result, target, args", - params => [ ("TypedRegister", "JSFunction*", "ArgumentList") ] + params => [ ("TypedRegister", "JSFunction*", "ArgumentList*") ] }; $ops{"GET_METHOD"} = {