Reviewers: rafaelw,
Description:
Fix assert in Runtime_SetIsObserved.
[email protected]
BUG=chromium:352664
Please review this at https://codereview.chromium.org/204493002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -2 lines):
M src/runtime.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
75b9f2ffdba65109984bf3cf05c040fc5e3e560e..02473392eb1fe8a0ec521d1cf1303bd6433f5cdf
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -14652,9 +14652,8 @@ RUNTIME_FUNCTION(MaybeObject*,
Runtime_SetIsObserved) {
if (obj->IsJSProxy())
return isolate->heap()->undefined_value();
- ASSERT(!(obj->map()->is_observed() && obj->IsJSObject() &&
- Handle<JSObject>::cast(obj)->HasFastElements()));
ASSERT(obj->IsJSObject());
+ ASSERT(!obj->map()->is_observed());
JSObject::SetObserved(Handle<JSObject>::cast(obj));
return isolate->heap()->undefined_value();
}
--
--
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.