Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 2430) |
+++ src/objects-inl.h (working copy) |
@@ -1069,6 +1069,7 @@ |
void JSGlobalPropertyCell::set_value(Object* val, WriteBarrierMode ignored) { |
// The write barrier is not used for global property cells. |
+ ASSERT(!val->IsJSGlobalPropertyCell()); |
WRITE_FIELD(this, kValueOffset, val); |
} |