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

Issue 6713074: Require an isolate parameter for most external reference creation to (Closed)

Created:
9 years, 9 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Require an isolate parameter for most external reference creation to avoid TLS access in connection with external references. Make the isolate accessible via the assembler. Only for ia32 at this point. If this looks OK to you I will port it. R=vitalyr@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=7305

Patch Set 1 #

Total comments: 3

Patch Set 2 : A bit of cleanup and porting to arm and x64 #

Patch Set 3 : Further cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1018 lines, -759 lines) Patch
M src/arm/assembler-arm.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/arm/assembler-arm.cc View 1 37 chunks +42 lines, -43 lines 0 comments Download
M src/arm/builtins-arm.cc View 1 2 11 chunks +12 lines, -11 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 24 chunks +61 lines, -37 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 5 chunks +8 lines, -6 lines 0 comments Download
M src/arm/debug-arm.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 4 chunks +7 lines, -3 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/ic-arm.cc View 1 9 chunks +20 lines, -11 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 3 chunks +8 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 21 chunks +34 lines, -27 lines 0 comments Download
M src/arm/regexp-macro-assembler-arm.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 12 chunks +31 lines, -18 lines 0 comments Download
M src/assembler.h View 1 5 chunks +68 lines, -49 lines 0 comments Download
M src/assembler.cc View 10 chunks +139 lines, -100 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 46 chunks +51 lines, -53 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 13 chunks +13 lines, -15 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 42 chunks +75 lines, -53 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 24 chunks +28 lines, -25 lines 0 comments Download
M src/ia32/debug-ia32.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 9 chunks +18 lines, -12 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 6 chunks +13 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +6 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 20 chunks +40 lines, -26 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 7 chunks +11 lines, -11 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 12 chunks +36 lines, -25 lines 0 comments Download
M src/parser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/parser.cc View 12 chunks +21 lines, -17 lines 0 comments Download
M src/serialize.cc View 7 chunks +53 lines, -43 lines 0 comments Download
M src/x64/assembler-x64.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.cc View 1 2 9 chunks +14 lines, -16 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 10 chunks +12 lines, -12 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 17 chunks +36 lines, -24 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/debug-x64.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/x64/ic-x64.cc View 1 9 chunks +18 lines, -10 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 4 chunks +8 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 21 chunks +32 lines, -24 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 6 chunks +7 lines, -6 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 10 chunks +24 lines, -13 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-serialize.cc View 4 chunks +17 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (chromium)
9 years, 9 months ago (2011-03-21 16:20:35 UTC) #1
Vitaly Repeshko
http://codereview.chromium.org/6713074/diff/1/src/assembler.h File src/assembler.h (right): http://codereview.chromium.org/6713074/diff/1/src/assembler.h#newcode504 src/assembler.h:504: explicit ExternalReference(Builtins::CFunctionId id, Isolate* isolate); I think these should ...
9 years, 9 months ago (2011-03-21 17:06:57 UTC) #2
Mads Ager (chromium)
http://codereview.chromium.org/6713074/diff/1/src/assembler.h File src/assembler.h (right): http://codereview.chromium.org/6713074/diff/1/src/assembler.h#newcode504 src/assembler.h:504: explicit ExternalReference(Builtins::CFunctionId id, Isolate* isolate); On 2011/03/21 17:06:57, Vitaly ...
9 years, 9 months ago (2011-03-22 08:42:36 UTC) #3
Mads Ager (chromium)
Ported to other platforms. I'd like to get this in and then iterate when/if we ...
9 years, 9 months ago (2011-03-22 10:44:47 UTC) #4
Vitaly Repeshko
9 years, 9 months ago (2011-03-22 14:03:53 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698