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

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

Issue 2844383007: Add HCreateBox (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | pkg/compiler/lib/src/ssa/locals_handler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 4b8693cbf986f02c762763c4cd3026a7b5a6b646..20163ce776ddf4b2ee8320a8a635b45398187239 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -2109,6 +2109,10 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
}
}
+ visitCreateBox(HCreateBox node) {
+ push(new js.ObjectInitializer(<js.Property>[]));
+ }
+
js.Expression newLiteralBool(
bool value, SourceInformation sourceInformation) {
if (_options.enableMinification) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/locals_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698