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

Issue 2901533002: [kernel] Stream everything. Replace .kernel_function with .kernel_offset (Closed)

Created:
3 years, 7 months ago by jensj
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] Stream everything. Replace .kernel_function with .kernel_offset - Put pointer to kernel data into Script. - Replace function.kernel_function pointer to AstNode with kernel_offset(): - Replace field.kernel_field pointer to AstNode with kernel_offest(). - Stream the previously unstreamed AstNodes: FunctionDeclaration and FunctionExpression. - Move special handling for _buildin.getMainClosure into the streaming flowgraph builder. - Delete big parts of kernel_to_il. R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/948e2f5d7916032ed6f0bfdc316ba4f577a5ea61 Committed: https://github.com/dart-lang/sdk/commit/4bbda48a7cbfc727e4b274acd2c124f3480df8ce

Patch Set 1 #

Patch Set 2 : Fixed assert issues; small refactorings. #

Total comments: 6

Patch Set 3 : Review comments #

Patch Set 4 : Fix for bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1856 lines, -4131 lines) Patch
M pkg/kernel/binary.md View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/lib/mirrors.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 chunks +9 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M runtime/vm/kernel.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.h View 1 10 chunks +101 lines, -42 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 2 26 chunks +1591 lines, -315 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 13 chunks +12 lines, -30 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 1 2 10 chunks +4 lines, -208 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 25 chunks +63 lines, -3437 lines 0 comments Download
M runtime/vm/object.h View 1 2 5 chunks +19 lines, -13 lines 0 comments Download
M runtime/vm/object.cc View 1 2 12 chunks +26 lines, -16 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 2 chunks +6 lines, -42 lines 0 comments Download
M runtime/vm/precompiler.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
jensj
3 years, 7 months ago (2017-05-22 12:05:03 UTC) #2
Kevin Millikin (Google)
It's a little strange that we use -1 as an explicit "no kernel offset" but ...
3 years, 6 months ago (2017-06-12 12:01:51 UTC) #3
jensj
Comments addressed. Rebased. Will likely land tomorrow morning. https://codereview.chromium.org/2901533002/diff/20001/pkg/kernel/binary.md File pkg/kernel/binary.md (right): https://codereview.chromium.org/2901533002/diff/20001/pkg/kernel/binary.md#newcode320 pkg/kernel/binary.md:320: UInt ...
3 years, 6 months ago (2017-06-13 13:42:15 UTC) #4
jensj
Committed patchset #3 (id:40001) manually as 948e2f5d7916032ed6f0bfdc316ba4f577a5ea61 (presubmit successful).
3 years, 6 months ago (2017-06-14 06:27:32 UTC) #6
jensj
So the land failed (i.e. tests failed) because of a bad merge. As the fix ...
3 years, 6 months ago (2017-06-14 08:50:39 UTC) #7
jensj
3 years, 6 months ago (2017-06-14 09:00:05 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
4bbda48a7cbfc727e4b274acd2c124f3480df8ce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698