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

Issue 1268783003: Simplify constant pool usage in x64 code generator (by removing extra argument (Closed)

Created:
5 years, 4 months ago by regis
Modified:
5 years, 4 months ago
Reviewers:
zra, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Simplify constant pool usage in x64 code generator (by removing extra argument to all code emitting routines that may access the pool). R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/cd00cf3f8e6e96a95dad9c6ebcfbb477ee7bc3f2

Patch Set 1 #

Total comments: 8

Patch Set 2 : Make PP implicit in LoadPoolPointer #

Total comments: 2

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+501 lines, -493 lines) Patch
M runtime/vm/assembler_x64.h View 1 2 13 chunks +34 lines, -44 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 47 chunks +160 lines, -145 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 9 chunks +20 lines, -20 lines 0 comments Download
M runtime/vm/code_patcher_x64_test.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 42 chunks +77 lines, -69 lines 0 comments Download
M runtime/vm/instructions_x64_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 75 chunks +139 lines, -141 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 21 chunks +33 lines, -37 lines 0 comments Download
M runtime/vm/object_x64_test.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 22 chunks +23 lines, -25 lines 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
regis
5 years, 4 months ago (2015-07-30 22:36:10 UTC) #2
srdjan
dbc https://codereview.chromium.org/1268783003/diff/1/runtime/vm/flow_graph_compiler_x64.cc File runtime/vm/flow_graph_compiler_x64.cc (left): https://codereview.chromium.org/1268783003/diff/1/runtime/vm/flow_graph_compiler_x64.cc#oldcode77 runtime/vm/flow_graph_compiler_x64.cc:77: assembler()->set_constant_pool_allowed(true); SHouldn't this be set (if at all) ...
5 years, 4 months ago (2015-07-30 22:44:12 UTC) #4
regis
https://codereview.chromium.org/1268783003/diff/1/runtime/vm/flow_graph_compiler_x64.cc File runtime/vm/flow_graph_compiler_x64.cc (left): https://codereview.chromium.org/1268783003/diff/1/runtime/vm/flow_graph_compiler_x64.cc#oldcode77 runtime/vm/flow_graph_compiler_x64.cc:77: assembler()->set_constant_pool_allowed(true); On 2015/07/30 22:44:11, srdjan wrote: > SHouldn't this ...
5 years, 4 months ago (2015-07-30 23:04:16 UTC) #5
zra
lgtm Now that the change is being made to x64, we can try to keep ...
5 years, 4 months ago (2015-07-31 17:37:28 UTC) #6
regis
Thanks! https://codereview.chromium.org/1268783003/diff/1/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): https://codereview.chromium.org/1268783003/diff/1/runtime/vm/assembler_x64.cc#newcode1503 runtime/vm/assembler_x64.cc:1503: LoadImmediate(TMP, imm); On 2015/07/31 17:37:28, zra wrote: > ...
5 years, 4 months ago (2015-07-31 19:33:59 UTC) #7
regis
5 years, 4 months ago (2015-07-31 19:38:38 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
cd00cf3f8e6e96a95dad9c6ebcfbb477ee7bc3f2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698