|
Avoids allocating a JSArray of capture information on each non-global
regular expression match.
Also moves all last-match information into one place where it can be
updated from C++ code (this will be used in another afsnit).
Committed: http://code.google.com/p/v8/source/detail?r=1383
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+356 lines, -187 lines) |
Patch |
|
M |
src/jsregexp.h
|
View
|
|
5 chunks |
+41 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/jsregexp.cc
|
View
|
|
14 chunks |
+110 lines, -46 lines |
6 comments
|
Download
|
|
M |
src/macros.py
|
View
|
|
2 chunks |
+19 lines, -1 line |
1 comment
|
Download
|
|
M |
src/regexp-delay.js
|
View
|
|
8 chunks |
+61 lines, -57 lines |
0 comments
|
Download
|
|
M |
src/runtime.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
2 chunks |
+10 lines, -5 lines |
1 comment
|
Download
|
|
M |
src/string.js
|
View
|
|
17 chunks |
+89 lines, -68 lines |
0 comments
|
Download
|
|
|
test/mjsunit/regexp-string-methods.js
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/js2c.py
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|