Revision: 3913 Author: [email protected] Date: Fri Feb 19 04:10:46 2010 Log: Add missing break in GetPropertyWithFailedAccessCheck. This break has been missing for a long time but the fallthrough to the default case used to break. Now the default case should be unreachable and the fallthrough therefore causes assertion failures.
Review URL: http://codereview.chromium.org/651024 http://code.google.com/p/v8/source/detail?r=3913 Modified: /branches/bleeding_edge/src/objects.cc ======================================= --- /branches/bleeding_edge/src/objects.cc Thu Feb 18 09:30:32 2010 +++ /branches/bleeding_edge/src/objects.cc Fri Feb 19 04:10:46 2010 @@ -261,6 +261,7 @@ name, attributes); } + break; } default: UNREACHABLE(); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
