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

Unified Diff: pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart

Issue 2942863002: Compile and run Hello World! (Closed)
Patch Set: Rebased Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
diff --git a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
index fb7e173be47164c9ffc6bfcd32aef9c0053908f6..503f1877d7a1e1501fe53285dfe0cd33f30c7844 100644
--- a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
+++ b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
@@ -26,7 +26,7 @@ class RastaSsaBuilder extends SsaAstBuilderBase {
HGraph build(ElementCodegenWorkItem work, ClosedWorld closedWorld) {
return task.measure(() {
- if (handleConstantField(work, closedWorld)) {
+ if (handleConstantField(work.element, work.registry, closedWorld)) {
// No code is generated for `work.element`.
return null;
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698