Reviewers: Lasse Reichstein,
Description:
Make link happy.
[email protected]
Please review this at http://codereview.chromium.org/1558005
Affected files:
M src/runtime.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
db0aabe7a431e77b13056d79a929360a3c0d5634..a4a7eb66ba22ebc47c1d212a7c5cdf580b1b5015
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -3361,7 +3361,9 @@ static RegExpImpl::IrregexpResult
SearchRegExpMultiple(
if (start >= 0) {
int end = register_vector[i * 2 + 1];
ASSERT(start <= end);
- Handle<String> substring = Factory::NewSubString(subject,
start, end);
+ Handle<String> substring = Factory::NewSubString(subject
+ start,
+ end);
elements->set(i, *substring);
} else {
ASSERT(register_vector[i * 2 + 1] < 0);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply
to this email with the words "REMOVE ME" as the subject.