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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)

Created:
3 years, 5 months ago by Aske Simon Christensen
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Eliminate dependencies on assemblers and code stubs in precompiled runtime. Guard all excluded code behind conditional compilation. Removed precompiled runtime flag. Only preprocessor flag remains. BUG= https://github.com/dart-lang/sdk/issues/30045 R=rmacnak@google.com, zra@google.com Committed: https://github.com/dart-lang/sdk/commit/46c53882ccf6efdc19d7607c316790febc136b95

Patch Set 1 #

Total comments: 8

Patch Set 2 : Eliminate precompiled runtime flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -190 lines) Patch
M runtime/lib/errors.cc View 1 2 chunks +10 lines, -9 lines 0 comments Download
M runtime/vm/assembler.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/ast.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/ast_printer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/ast_transformer.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/block_scheduler.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/branch_optimizer.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/cha.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 chunk +40 lines, -0 lines 0 comments Download
M runtime/vm/constant_propagator.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/debugger.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 7 chunks +16 lines, -6 lines 0 comments Download
M runtime/vm/deferred_objects.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/disassembler_arm64.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/disassembler_ia32.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/disassembler_x64.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/flag_list.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 3 chunks +4 lines, -41 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_range_analysis.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/il_printer.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/locations.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/object_service.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/redundancy_elimination.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/regexp_assembler_ir.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/runtime_entry.cc View 1 2 chunks +12 lines, -3 lines 0 comments Download
M runtime/vm/runtime_entry_arm.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_arm64.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_ia32.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/stub_code.h View 3 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/stub_code.cc View 4 chunks +31 lines, -28 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M runtime/vm/stub_code_dbc.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M runtime/vm/weak_code.cc View 1 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Aske Simon Christensen
Regarding the ProgramVisitor that rmacnak mentioned in the previous CL: https://codereview.chromium.org/2960413002/ This is used by ...
3 years, 5 months ago (2017-07-11 13:31:34 UTC) #3
Aske Simon Christensen
3 years, 5 months ago (2017-07-11 13:31:51 UTC) #4
zra
https://codereview.chromium.org/2976723003/diff/1/runtime/vm/assembler.cc File runtime/vm/assembler.cc (right): https://codereview.chromium.org/2976723003/diff/1/runtime/vm/assembler.cc#newcode14 runtime/vm/assembler.cc:14: #if !defined(DART_PRECOMPILED_RUNTIME) Should this go above the includes? Here ...
3 years, 5 months ago (2017-07-11 20:25:09 UTC) #5
Aske Simon Christensen
https://codereview.chromium.org/2976723003/diff/1/runtime/vm/assembler.cc File runtime/vm/assembler.cc (right): https://codereview.chromium.org/2976723003/diff/1/runtime/vm/assembler.cc#newcode14 runtime/vm/assembler.cc:14: #if !defined(DART_PRECOMPILED_RUNTIME) On 2017/07/11 20:25:08, zra wrote: > Should ...
3 years, 5 months ago (2017-07-12 18:51:34 UTC) #6
zra
lgtm, but since this is a big change, someone else should also take a look.
3 years, 5 months ago (2017-07-18 15:09:19 UTC) #8
rmacnak
lgtm
3 years, 4 months ago (2017-08-07 22:31:03 UTC) #9
Aske Simon Christensen
3 years, 4 months ago (2017-08-09 20:22:01 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
46c53882ccf6efdc19d7607c316790febc136b95 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698