Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Issue 165443: X64: Implement RegExp natively. (Closed)

Created:
11 years, 4 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

X64: Implement RegExp natively.

Patch Set 1 #

Patch Set 2 : Remove accidental lineswap in comment. #

Total comments: 43

Patch Set 3 : Addressed review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2186 lines, -739 lines) Patch
M SConstruct View 1 chunk +3 lines, -0 lines 0 comments Download
M src/SConscript View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.h View 1 2 7 chunks +1 line, -58 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 2 11 chunks +21 lines, -229 lines 0 comments Download
M src/jsregexp.cc View 1 2 4 chunks +39 lines, -38 lines 0 comments Download
M src/regexp-macro-assembler.h View 1 2 4 chunks +38 lines, -60 lines 0 comments Download
M src/regexp-macro-assembler.cc View 1 2 2 chunks +163 lines, -26 lines 1 comment Download
M src/regexp-macro-assembler-irregexp.h View 3 chunks +1 line, -11 lines 0 comments Download
M src/regexp-macro-assembler-irregexp.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M src/regexp-macro-assembler-tracer.h View 2 chunks +0 lines, -14 lines 0 comments Download
M src/regexp-macro-assembler-tracer.cc View 3 chunks +0 lines, -58 lines 0 comments Download
M src/regexp-stack.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/assembler-x64.h View 1 2 6 chunks +72 lines, -15 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 2 4 chunks +103 lines, -6 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.h View 1 2 1 chunk +268 lines, -0 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 2 1 chunk +1274 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-regexp.cc View 24 chunks +159 lines, -151 lines 0 comments Download
M test/mjsunit/stack-traces.js View 5 chunks +35 lines, -28 lines 0 comments Download
M test/mozilla/mozilla.status View 1 chunk +0 lines, -7 lines 0 comments Download
M tools/gyp/v8.gyp View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lasse Reichstein
Please review RegExp conversion. I removed the unused "dispatch" functions in regexp-macro-assembler.h and implementations, but ...
11 years, 4 months ago (2009-08-13 08:24:14 UTC) #1
William Hesse
All files except the two new x64 ones reviewed. Will send their review later. http://codereview.chromium.org/165443/diff/42/1006 ...
11 years, 4 months ago (2009-08-13 09:28:08 UTC) #2
William Hesse
LGTM. http://codereview.chromium.org/165443/diff/42/1016 File src/x64/regexp-macro-assembler-x64.cc (right): http://codereview.chromium.org/165443/diff/42/1016#newcode68 Line 68: * - stack_area_top (High end of the ...
11 years, 4 months ago (2009-08-13 11:12:22 UTC) #3
Lasse Reichstein
Addressed comments http://codereview.chromium.org/165443/diff/42/1014 File src/x64/assembler-x64.cc (right): http://codereview.chromium.org/165443/diff/42/1014#newcode449 Line 449: void Assembler::arithmetic_op_16(byte opcode, Register dst, Register ...
11 years, 4 months ago (2009-08-13 13:32:30 UTC) #4
Erik Corry
LGTM http://codereview.chromium.org/165443/diff/42/1004 File src/ia32/regexp-macro-assembler-ia32.cc (right): http://codereview.chromium.org/165443/diff/42/1004#newcode1165 Line 1165: Address new_stack_top = RegExpStack::EnsureCapacity(size * 2); Shouldn't ...
11 years, 4 months ago (2009-08-13 13:54:19 UTC) #5
Lasse Reichstein
Is the refactoring satisfactory? http://codereview.chromium.org/165443/diff/42/1004 File src/ia32/regexp-macro-assembler-ia32.cc (right): http://codereview.chromium.org/165443/diff/42/1004#newcode1165 Line 1165: Address new_stack_top = RegExpStack::EnsureCapacity(size ...
11 years, 4 months ago (2009-08-14 08:08:14 UTC) #6
Erik Corry
11 years, 4 months ago (2009-08-14 08:20:55 UTC) #7
LGTM

http://codereview.chromium.org/165443/diff/1026/1037
File src/regexp-macro-assembler.cc (right):

http://codereview.chromium.org/165443/diff/1026/1037#newcode45
Line 45: NativeRegExpMacroAssembler::NativeRegExpMacroAssembler() {
Can we ensure this doesn't get compiled on ARM.

Powered by Google App Engine
This is Rietveld 408576698