[parser] Fix bug with non-static name method/property
Without this patch, the tests on lines 410, 414, 418 and 422 in function testNonStaticName of test/mjsunit/es6/function-name.js would all fail. The bug caused non-static "name" methods and properties to be mistaken for static ones. R=adamk@chromium.org, verwaest@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/2567343004 Cr-Commit-Position: refs/heads/master@{#41692}
Showing
Please
register
or
sign in
to comment