Commit d74cceb2 authored by yangguo@chromium.org's avatar yangguo@chromium.org

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
parent a2f1431a
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment