Commit 6f231396 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Cannot check the interceptor since it may not be ready yet.

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/353143003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent a80b14ab
......@@ -5337,7 +5337,7 @@ RUNTIME_FUNCTION(Runtime_AddProperty) {
#ifdef DEBUG
if (key->IsName()) {
LookupIterator it(object, Handle<Name>::cast(key),
LookupIterator::CHECK_OWN);
LookupIterator::CHECK_OWN_REAL);
JSReceiver::GetPropertyAttributes(&it);
RUNTIME_ASSERT(!it.IsFound());
} else {
......
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