Removing bogus check introduced in r9027.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Aug 2011 14:04:01 +0000 (14:04 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 29 Aug 2011 14:04:01 +0000 (14:04 +0000)
Review URL: http://codereview.chromium.org/7781013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9060 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/jsregexp.cc

index 192fbf0cb838e5526a80c04742b16d261b93a985..4ca83a47691cf25d4b56a71493ff59c9dd35a98b 100644 (file)
@@ -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());