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

Issue 3357023: [Isolates] Pass current isolate address to the regexp native functions (Closed)

Created:
10 years, 3 months ago by yurys
Modified:
4 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Pass current isolate address to the regexp native functions. Immediate effect of this change is a modest speed up(<4%)on a few tests but we will need isolate pointer to pass it directly into Handle constructors and Factory calls for further RegExp optimizations. BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=5463

Patch Set 1 #

Patch Set 2 : Added x64 support #

Patch Set 3 : Added Arm implementation #

Patch Set 4 : Added HeapObject::GetIsolate #

Total comments: 9

Patch Set 5 : Addressed n-1 comment #

Patch Set 6 : Changed the way Isolate is passed on Arm #

Patch Set 7 : Arguments on ARM #

Patch Set 8 : Made helper function private(ARM) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -54 lines) Patch
M src/api.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/arm/code-stubs-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/macro-assembler-arm.h View 6 7 2 chunks +6 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.cc View 3 4 5 3 chunks +41 lines, -5 lines 0 comments Download
M src/arm/regexp-macro-assembler-arm.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/regexp-macro-assembler-arm.cc View 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M src/arm/simulator-arm.h View 2 chunks +5 lines, -5 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/ia32/simulator-ia32.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/interpreter-irregexp.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/jsregexp.cc View 1 2 3 7 chunks +7 lines, -7 lines 0 comments Download
M src/objects.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/regexp-macro-assembler.h View 1 2 chunks +8 lines, -4 lines 0 comments Download
M src/regexp-macro-assembler.cc View 6 chunks +18 lines, -10 lines 0 comments Download
M src/v8.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/v8.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 2 3 4 5 chunks +31 lines, -2 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M src/x64/simulator-x64.h View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/test-regexp.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
yurys
10 years, 3 months ago (2010-09-13 13:02:10 UTC) #1
Vitaly Repeshko
LGTM if we can avoid the hairy stuff on ARM. Thanks, Vitaly http://codereview.chromium.org/3357023/diff/9001/4010 File src/api.cc ...
10 years, 3 months ago (2010-09-14 17:59:33 UTC) #2
yurys
Some code depends on ip staying the same after native calls. I found that e.g. ...
10 years, 3 months ago (2010-09-15 11:40:40 UTC) #3
yurys
Isolate* argument on ARM is passed as was proposed by vitalyr who introduced CallCFunctionHelper in ...
10 years, 3 months ago (2010-09-15 15:25:10 UTC) #4
Vitaly Repeshko
10 years, 3 months ago (2010-09-15 15:26:33 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698