Created
April 26, 2011 19:53
-
-
Save mraleph/942983 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/runtime.cc | |
=================================================================== | |
--- src/runtime.cc (revision 7683) | |
+++ src/runtime.cc (working copy) | |
@@ -2713,7 +2713,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 isolate->heap()->empty_string(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment