Add missing break in GetPropertyWithFailedAccessCheck. This break has
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Feb 2010 12:10:46 +0000 (12:10 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Feb 2010 12:10:46 +0000 (12:10 +0000)
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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3913 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/objects.cc

index edb768062d35425dd4abb88c5213f8b84bfbc4bc..53423af5233e91cc25dd62a434d42f85b57a0602 100644 (file)
@@ -261,6 +261,7 @@ Object* JSObject::GetPropertyWithFailedAccessCheck(
                                                   name,
                                                   attributes);
         }
+        break;
       }
       default:
         UNREACHABLE();