Fix issue with numeric property names
authorarv@chromium.org <arv@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Aug 2014 14:40:38 +0000 (14:40 +0000)
committerarv@chromium.org <arv@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 22 Aug 2014 14:40:38 +0000 (14:40 +0000)
commit74a0d0f3738b3748d3250ed4a21cca5509521ed3
treec4f1f0a911a7dbc718578a71a52a1880e25a0880
parent50ea93c61446b4bf1d5fd7416185eb133fbbf4aa
Fix issue with numeric property names

We were not correctly treating 1.0 as 1, nor 1.20 as 1.2 in accessors.

BUG=v8:3507
LOG=Y
R=marja@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23321 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/parser.h
src/preparser.cc
src/preparser.h
test/mjsunit/object-literal.js