|
Don't pass the "at start" parameter to native RegExp
As the start index is already passed it is easy to calculate the "at start" boolean in generated code. Also as direct entry has been implemented this needs to be done in generated code anyway, and therefore might as well be moved to the generated code for RegExp. The "at start" value is now calcualted as a local variable on the native RegExp frame based on the value of the start index argument.
The x64 version have been tested on both Linux and 64-bit Windows Vista.
For ARM I have tested cctest/test-regexp on ARM hardware, but the rest of the tests have only been run on the ARM simulator.
Committed: http://code.google.com/p/v8/source/detail?r=3709
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -80 lines) |
Patch |
|
M |
src/arm/regexp-macro-assembler-arm.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm/regexp-macro-assembler-arm.cc
|
View
|
1
2
|
4 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/codegen-ia32.cc
|
View
|
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/ia32/regexp-macro-assembler-ia32.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ia32/regexp-macro-assembler-ia32.cc
|
View
|
1
2
|
4 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/simulator-ia32.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/regexp-macro-assembler.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/regexp-macro-assembler.cc
|
View
|
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/x64/regexp-macro-assembler-x64.h
|
View
|
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/x64/regexp-macro-assembler-x64.cc
|
View
|
1
2
|
5 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/x64/simulator-x64.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-regexp.cc
|
View
|
|
15 chunks |
+16 lines, -32 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|