X87: [strong] Function arity check should be based on required parameters
authorchunyang.dai <chunyang.dai@intel.com>
Thu, 21 May 2015 04:30:56 +0000 (21:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 04:30:39 +0000 (04:30 +0000)
commit5299d17733ab29377a86bd8569329c2ba29071e6
tree45a1db9544fa49cc321d1083c15cba6493f15c02
parentd14a189c638b29b2e850d46a3ecfd15d2744ebe0
X87: [strong] Function arity check should be based on required parameters

port 78f0452d310221ac74b6221140d376d8302c4579 (r28491)

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.

BUG=

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

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