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

Unified Diff: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart

Issue 2072223002: Enforce use of the forEachInstanceField ordering for constructed constants. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove tab Created 4 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
Index: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
diff --git a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
index ddf76746e0398bf3ef7c4128d939d7da3922fd1d..8e6de54be7f3ab05148478e47ab0d01864b0009e 100644
--- a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
+++ b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
@@ -220,10 +220,10 @@ class JavaScriptConstantCompiler extends ConstantCompilerBase
@override
ConstantExpression compileMetadata(
MetadataAnnotation metadata, Node node, TreeElements elements) {
- ConstantExpression constant =
- super.compileMetadata(metadata, node, elements);
- metadataConstantMap[metadata] = constant;
- return constant;
+ ConstantExpression constant =
+ super.compileMetadata(metadata, node, elements);
+ metadataConstantMap[metadata] = constant;
+ return constant;
}
void forgetElement(Element element) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/constant_emitter.dart ('k') | pkg/compiler/lib/src/js_backend/constant_system_javascript.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698