Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 9d1923c94e7b42bc9b6999052bc81704266ff1c8..29a368caaf2c32674ee6266aa65bc59edde63f37 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2961,7 +2961,7 @@ Object* Map::prototype() { |
void Map::set_prototype(Object* value, WriteBarrierMode mode) { |
- ASSERT(value->IsNull() || value->IsJSReceiver()); |
+ ASSERT(value->IsNull() || value->IsJSObject()); |
WRITE_FIELD(this, kPrototypeOffset, value); |
CONDITIONAL_WRITE_BARRIER(GetHeap(), this, kPrototypeOffset, mode); |
} |