Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 7699) |
+++ src/runtime.cc (working copy) |
@@ -2625,7 +2625,7 @@ |
end = RegExpImpl::GetCapture(match_info_array, 1); |
} |
- int length = subject->length(); |
+ int length = subject_handle->length(); |
int new_length = length - (end - start); |
if (new_length == 0) { |
return Heap::empty_string(); |