Commit 469d694d authored by ager@chromium.org's avatar ager@chromium.org

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
parent 49a336e5
...@@ -261,6 +261,7 @@ Object* JSObject::GetPropertyWithFailedAccessCheck( ...@@ -261,6 +261,7 @@ Object* JSObject::GetPropertyWithFailedAccessCheck(
name, name,
attributes); attributes);
} }
break;
} }
default: default:
UNREACHABLE(); UNREACHABLE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment