Removing bogus check introduced in r9027.

Review URL: http://codereview.chromium.org/7781013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9060 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2011-08-29 14:04:01 +00:00
parent a2f1431aff
commit d74cceb2bc

View 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());