Fixed issue 582: set the right construct stub for native functions.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Jan 2010 10:32:20 +0000 (10:32 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Jan 2010 10:32:20 +0000 (10:32 +0000)
commitca564dcd545dacbb75d6fb98fd13bd281c79f5f9
tree04757857efefa6f864fdff5b4d1c49f15c274478
parent5aeb48f366efd4e3f8a2f53235949ca3cc999c92
Fixed issue 582: set the right construct stub for native functions.

TEST=cctest/test-api/NativeFunctionConstructCall
BUG=582

Review URL: http://codereview.chromium.org/551063

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
test/cctest/test-api.cc