X87: Fix issue with __proto__ when using ES6 object literals.
authorcdai2 <chunyang.dai@intel.com>
Wed, 21 Jan 2015 08:30:14 +0000 (16:30 +0800)
committercdai2 <chunyang.dai@intel.com>
Wed, 21 Jan 2015 08:31:27 +0000 (08:31 +0000)
commit3175d302495ede827e2912656c791acf1440e669
tree74d84b894ca59ef6d9975869e039d7497ce72e47
parent207eae60221254dec02085cace720baf0266e210
X87: Fix issue with __proto__ when using ES6 object literals.

port bc3b2960e3b7abc16440717f289a430aef904cb1 (r26172).

original commit message:
  Fix issue with __proto__ when using ES6 object literals

  It should be possible to create a concise method with the name
  __proto__ without setting the [[Prototype]]. Similarly, property
  name shorthands with the name __proto__ should define an own
  property.

BUG=
R=weiliang.lin@intel.com

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

Cr-Commit-Position: refs/heads/master@{#26179}
src/x87/full-codegen-x87.cc