Turn Flags into a uint32_t typedef.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Mar 2013 13:11:49 +0000 (13:11 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Mar 2013 13:11:49 +0000 (13:11 +0000)
commit002ba9c76d5ebb1233d2b51829d2a67606ef27cb
treed092cd8d327301711029fb3cb167f70af4444cb2
parenta8e9bebabde32c353056cfcaea35e08aa34def03
Turn Flags into a uint32_t typedef.

We cannot rely on C++ compilers inferring the int-type from the enum
value range. Whereas Linux/OSX find uint32_t as type for [0,MaxUInt32],
Windows insists it's int.

Update the test to execute its original intent on all platforms: 1 value
larger than max arguments, 1 smaller than max arguments (on all
platforms). This makes the test run a lot faster.

BUG=chromium:194749

Review URL: https://chromiumcodereview.appspot.com/12507010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13988 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects.h
test/mjsunit/regress/regress-1122.js