Chromium Code Reviews

Unified Diff: src/objects-inl.h

Issue 7909002: Correcting a bogus assert outdated since r9295. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index bb24a2f8544ef73e069031be3bd38c0ed6315855..b8f3bd54228854508165a29a6240e6969e82abbf 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -2336,7 +2336,7 @@ String* SlicedString::parent() {
void SlicedString::set_parent(String* parent) {
- ASSERT(parent->IsSeqString());
+ ASSERT(parent->IsSeqString() || parent->IsExternalString());
WRITE_FIELD(this, kParentOffset, parent);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine