Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: src/jsregexp.cc

Issue 7781013: Removing bogus check introduced in r9027. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698