Reviewers: Søren Gjesse,

Description:
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.


Please review this at http://codereview.chromium.org/651024

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/objects.cc


Index: src/objects.cc
===================================================================
--- src/objects.cc      (revision 3901)
+++ src/objects.cc      (working copy)
@@ -261,6 +261,7 @@
                                                   name,
                                                   attributes);
         }
+        break;
       }
       default:
         UNREACHABLE();


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to