Skip to content

Commit bf7f27a

Browse files
nateboschcommit-bot@chromium.org
authored andcommitted
Remove comment about inlining constants.
Followup for #36285 Primitive constants are already inlined for us. Change-Id: I99edcd2076795c9ee5d043bd3028d31dea744cad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123546 Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Nate Bosch <nbosch@google.com>
1 parent b99599b commit bf7f27a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/dev_compiler/lib/src/kernel/compiler.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4057,8 +4057,6 @@ class ProgramCompiler extends ComputeOnceConstantVisitor<js_ast.Expression>
40574057
_emitStaticGet(node.target);
40584058

40594059
js_ast.Expression _emitStaticGet(Member target) {
4060-
// TODO(vsm): Re-inline constants. See:
4061-
// https://github.com/dart-lang/sdk/issues/36285
40624060
var result = _emitStaticTarget(target);
40634061
if (_reifyTearoff(target)) {
40644062
// TODO(jmesserly): we could tag static/top-level function types once

0 commit comments

Comments
 (0)