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:
parent
a2f1431aff
commit
d74cceb2bc
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user