PPC: [strong] Function arity check should be based on required parameters
authormbrandy <mbrandy@us.ibm.com>
Tue, 19 May 2015 20:24:17 +0000 (13:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 20:24:00 +0000 (20:24 +0000)
commit65141b68cae2c6dc290489016af4c9185bc2ca71
treedcafccea3d01014b4eff137a0b614e2c771697dc
parent78f0452d310221ac74b6221140d376d8302c4579
PPC: [strong] Function arity check should be based on required parameters

Port 78f0452d310221ac74b6221140d376d8302c4579

Original commit message:
Also check whether the arguments count is smaller than the number of
required parameters which is the same as the SharedFunctionInfo length.

R=arv@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1133093004

Cr-Commit-Position: refs/heads/master@{#28492}
src/ppc/builtins-ppc.cc