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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3913 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2010-02-19 12:10:46 +00:00
parent 49a336e5be
commit 469d694d5b

View File

@ -261,6 +261,7 @@ Object* JSObject::GetPropertyWithFailedAccessCheck(
name,
attributes);
}
break;
}
default:
UNREACHABLE();