DescriptionMade PropertyType handling even more explicit.
Replaced FIRST_PHANTOM_PROPERTY_TYPE by a predicate. Removed the (hopefully)
last default cases for switches on PropertyType. Benchmarks show that both
changes are performace-neutral.
Now every value of PropertyType should either be handled by an explicit case in
a switch or by an equality operator. Therefore, the C++ compiler should finally
be able to tell us which places to touch when changing PropertyType.
Committed: http://code.google.com/p/v8/source/detail?r=9930
Patch Set 1 #
Total comments: 1
Messages
Total messages: 2 (0 generated)
|