Reviewers: Igor Sheludko,

Message:
PTAL

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

BUG=

Please review this at https://codereview.chromium.org/353143003/

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

Affected files (+1, -1 lines):
  M src/runtime.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 229e21aa2e8833acd5b9acd66d64f71e99a56698..31d91be18658fa3e4c6691e3af89cb342da67312 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -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 {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to