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

Issue 868883002: Remove the dependency of Zone on Isolate (Closed)

Created:
5 years, 11 months ago by danno
Modified:
5 years, 11 months ago
CC:
v8-dev, Benedikt Meurer, dcarney
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Remove the dependency of Zone on Isolate Along the way: - Thread isolate parameter explicitly through code that used to rely on getting it from the zone. - Canonicalize the parameter position of isolate and zone for affected code - Change Hydrogen New<> instruction templates to automatically pass isolate R=mstarzinger@chromium.org LOG=N Committed: https://crrev.com/c7b09aac317dd810d29b82061973199b80363b65 Cr-Commit-Position: refs/heads/master@{#26252}

Patch Set 1 #

Patch Set 2 : Checkpoint #

Patch Set 3 : All platforms #

Total comments: 50

Patch Set 4 : Review feedback #

Patch Set 5 : Fix compilation issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+988 lines, -996 lines) Patch
M src/arm/regexp-macro-assembler-arm.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/arm/regexp-macro-assembler-arm.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/arm64/regexp-macro-assembler-arm64.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/arm64/regexp-macro-assembler-arm64.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/ast.h View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M src/ast-numbering.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ast-numbering.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M src/ast-this-access-visitor.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ast-this-access-visitor.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/codegen.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/compiler.h View 1 2 3 1 chunk +5 lines, -9 lines 0 comments Download
M src/compiler.cc View 1 2 3 8 chunks +14 lines, -9 lines 0 comments Download
M src/compiler/arm/linkage-arm.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/arm64/linkage-arm64.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/ast-loop-assignment-analyzer.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/code-generator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/code-generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/control-reducer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/graph-builder.h View 1 2 3 5 chunks +5 lines, -3 lines 0 comments Download
M src/compiler/graph-builder.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/graph-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/graph-visualizer.cc View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/ia32/linkage-ia32.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/instruction.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/compiler/instruction.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/js-generic-lowering.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-graph.h View 1 2 2 chunks +11 lines, -9 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/jump-threading.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/linkage.h View 1 2 3 chunks +12 lines, -8 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 3 chunks +11 lines, -9 lines 0 comments Download
M src/compiler/linkage-impl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/mips/linkage-mips.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/pipeline.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 9 chunks +15 lines, -14 lines 0 comments Download
M src/compiler/pipeline-statistics.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M src/compiler/select-lowering.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 6 chunks +12 lines, -10 lines 0 comments Download
M src/compiler/typer.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/compiler/typer.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/x64/linkage-x64.cc View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/zone-pool.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M src/compiler/zone-pool.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/full-codegen.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M src/full-codegen.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/gdb-jit.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/hydrogen.h View 1 2 11 chunks +28 lines, -22 lines 0 comments Download
M src/hydrogen.cc View 1 2 10 chunks +23 lines, -16 lines 0 comments Download
M src/hydrogen-bch.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/hydrogen-escape-analysis.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 35 chunks +132 lines, -201 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 27 chunks +129 lines, -147 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/isolate.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/json-parser.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/jsregexp.h View 1 2 5 chunks +13 lines, -10 lines 0 comments Download
M src/jsregexp.cc View 1 2 24 chunks +54 lines, -48 lines 0 comments Download
M src/lithium-allocator.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/liveedit.cc View 3 chunks +10 lines, -11 lines 0 comments Download
M src/mips/regexp-macro-assembler-mips.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/mips/regexp-macro-assembler-mips.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/parser.h View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M src/parser.cc View 1 2 3 7 chunks +18 lines, -14 lines 0 comments Download
M src/preparser.h View 1 2 3 8 chunks +18 lines, -13 lines 0 comments Download
M src/prettyprinter.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M src/prettyprinter.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M src/regexp-macro-assembler.h View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M src/regexp-macro-assembler.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M src/regexp-macro-assembler-tracer.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/regexp-macro-assembler-tracer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/rewriter.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/scopeinfo.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/scopes.h View 1 2 3 chunks +9 lines, -8 lines 0 comments Download
M src/scopes.cc View 1 2 3 7 chunks +35 lines, -45 lines 0 comments Download
M src/type-info.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M src/type-info.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/typing.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M src/zone.h View 3 chunks +1 line, -4 lines 0 comments Download
M src/zone.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M test/cctest/cctest.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/codegen-tester.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 2 3 4 chunks +7 lines, -5 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M test/cctest/compiler/simplified-graph-builder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/simplified-graph-builder.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-changes-lowering.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-codegen-deopt.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-control-reducer.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-instruction.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-constant-cache.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-jump-threading.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-loop-analysis.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-machine-operator-reducer.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-osr.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 5 chunks +10 lines, -9 lines 0 comments Download
M test/cctest/compiler/test-typer.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-ast.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/test-bit-vector.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-liveedit.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 15 chunks +21 lines, -18 lines 0 comments Download
M test/cctest/test-regexp.cc View 1 2 27 chunks +80 lines, -66 lines 0 comments Download
M test/cctest/test-types.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M test/cctest/test-unique.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M test/unittests/compiler/change-lowering-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/graph-unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.h View 2 chunks +5 lines, -4 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M test/unittests/compiler/instruction-sequence-unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/unittests/compiler/js-builtin-reducer-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/loop-peeling-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/machine-operator-reducer-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/simplified-operator-reducer-unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/zone-pool-unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/test-utils.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (11 generated)
danno
PTAL
5 years, 11 months ago (2015-01-23 12:06:34 UTC) #2
dcarney
lgtm
5 years, 11 months ago (2015-01-23 13:02:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868883002/100001
5 years, 11 months ago (2015-01-23 13:03:04 UTC) #6
Michael Starzinger
LGTM if comments are addressed. https://codereview.chromium.org/868883002/diff/100001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/868883002/diff/100001/src/ast.h#newcode3171 src/ast.h:3171: explicit AstNodeFactory(Isolate* isolate, AstValueFactory* ...
5 years, 11 months ago (2015-01-23 14:21:11 UTC) #9
danno
Feedback addressed, landing via CQ https://codereview.chromium.org/868883002/diff/100001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/868883002/diff/100001/src/ast.h#newcode3171 src/ast.h:3171: explicit AstNodeFactory(Isolate* isolate, AstValueFactory* ...
5 years, 11 months ago (2015-01-23 14:45:21 UTC) #10
danno
Feedback addressed, landing via CQ
5 years, 11 months ago (2015-01-23 14:45:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868883002/120001
5 years, 11 months ago (2015-01-23 14:46:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868883002/140001
5 years, 11 months ago (2015-01-23 14:49:28 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 11 months ago (2015-01-23 15:19:47 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 15:20:09 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c7b09aac317dd810d29b82061973199b80363b65
Cr-Commit-Position: refs/heads/master@{#26252}

Powered by Google App Engine
This is Rietveld 408576698