Reviewers: Rico,

Message:
I assume this looks good to you since we already discussed this change on IM.

Description:
Removing bogus check introduced in r9027.


Please review this at http://codereview.chromium.org/7781013/

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

Affected files:
  M src/jsregexp.cc


Index: src/jsregexp.cc
diff --git a/src/jsregexp.cc b/src/jsregexp.cc
index 192fbf0cb838e5526a80c04742b16d261b93a985..4ca83a47691cf25d4b56a71493ff59c9dd35a98b 100644
--- a/src/jsregexp.cc
+++ b/src/jsregexp.cc
@@ -226,7 +226,6 @@ Handle<Object> RegExpImpl::AtomExec(Handle<JSRegExp> re,
   AssertNoAllocation no_heap_allocation;  // ensure vectors stay valid

   String* needle = String::cast(re->DataAt(JSRegExp::kAtomPatternIndex));
-  ASSERT(StringShape(needle).IsSequential());
   int needle_len = needle->length();
   ASSERT(needle->IsFlat());



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to