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

Issue 12300018: Made Isolate a mandatory parameter for everything Handle-related. (Closed)

Created:
7 years, 10 months ago by Sven Panne
Modified:
7 years, 10 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Made Isolate a mandatory parameter for everything Handle-related. Unified parameter order of CreateHandle with the rest of v8 on the way. A few Isolate::Current()s had to be introduced, which is not nice, and not every place will win a beauty contest, but we can clean this up later easily in smaller steps. Committed: http://code.google.com/p/v8/source/detail?r=13717

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Minor cleanup #

Patch Set 4 : Less Isolate::Current #

Patch Set 5 : Some Execution changes #

Patch Set 6 : Even less Isolate::Current #

Total comments: 34

Patch Set 7 : Rebased #

Patch Set 8 : Addressed feedback #

Patch Set 9 : Fixed CreateCode calls. Be nicer to MIPS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+944 lines, -781 lines) Patch
M src/accessors.cc View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 29 chunks +50 lines, -39 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/arm/macro-assembler-arm.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 1 chunk +9 lines, -6 lines 0 comments Download
M src/bootstrapper.cc View 12 chunks +27 lines, -17 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -6 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/contexts.cc View 1 2 2 chunks +6 lines, -9 lines 0 comments Download
M src/debug.cc View 1 2 3 4 5 6 7 13 chunks +33 lines, -20 lines 0 comments Download
M src/deoptimizer.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -10 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M src/disassembler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/disassembler.cc View 4 chunks +11 lines, -7 lines 0 comments Download
M src/elements.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/execution.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/execution.cc View 1 2 3 4 13 chunks +17 lines, -14 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 7 5 chunks +8 lines, -8 lines 0 comments Download
M src/frames.h View 1 chunk +1 line, -1 line 0 comments Download
M src/handles.h View 7 chunks +19 lines, -14 lines 0 comments Download
M src/handles.cc View 9 chunks +15 lines, -21 lines 0 comments Download
M src/handles-inl.h View 7 chunks +17 lines, -28 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 14 chunks +22 lines, -17 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 chunks +12 lines, -11 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 chunks +16 lines, -8 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M src/ic.cc View 15 chunks +18 lines, -15 lines 0 comments Download
M src/isolate.h View 2 chunks +5 lines, -4 lines 0 comments Download
M src/isolate.cc View 1 7 chunks +10 lines, -9 lines 0 comments Download
M src/json-parser.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/json-stringifier.h View 6 chunks +13 lines, -7 lines 0 comments Download
M src/jsregexp.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/lithium.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/liveedit.cc View 1 2 3 4 5 6 7 19 chunks +51 lines, -34 lines 0 comments Download
M src/messages.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/messages.cc View 1 2 3 4 5 4 chunks +12 lines, -10 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 32 chunks +51 lines, -45 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 156 chunks +184 lines, -171 lines 0 comments Download
M src/serialize.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/stub-cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/full-codegen-x64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M test/cctest/test-accessors.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 2 3 4 5 6 7 8 25 chunks +52 lines, -39 lines 0 comments Download
M test/cctest/test-assembler-ia32.cc View 1 2 3 4 5 6 7 8 20 chunks +42 lines, -31 lines 0 comments Download
M test/cctest/test-assembler-mips.cc View 1 2 3 4 5 6 7 8 15 chunks +15 lines, -15 lines 0 comments Download
M test/cctest/test-assembler-x64.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-compiler.cc View 4 chunks +9 lines, -8 lines 0 comments Download
M test/cctest/test-debug.cc View 4 chunks +11 lines, -7 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/test-disasm-x64.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 8 13 chunks +62 lines, -50 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/test-serialize.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-strings.cc View 2 chunks +11 lines, -11 lines 0 comments Download
M test/cctest/test-weakmaps.cc View 5 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Sven Panne
7 years, 10 months ago (2013-02-19 13:53:36 UTC) #1
Michael Starzinger
LGTM with a bunch of nits. https://codereview.chromium.org/12300018/diff/139/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/12300018/diff/139/src/code-stubs.cc#newcode311 src/code-stubs.cc:311: String* symbol = ...
7 years, 10 months ago (2013-02-25 10:50:58 UTC) #2
Sven Panne
Addressed feedback. As discussed offline, I've fixed the self_reference parameter in CreateCode calls. Updated some ...
7 years, 10 months ago (2013-02-25 14:44:43 UTC) #3
Sven Panne
7 years, 10 months ago (2013-02-25 14:46:44 UTC) #4
Message was sent while issue was closed.
Committed patchset #9 manually as r13717 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698