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

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

Issue 3010473002: Adding JRecord and boxing mechanics.
Patch Set: .. Created 3 years, 4 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/kernel/env.dart ('k') | pkg/compiler/lib/src/universe/use.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/locals_handler.dart
diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
index d9a5bd84410193e53b5cbffc4f39c539878ee636..1a6fba38e623069d48dd7733468d9f2d71785e1e 100644
--- a/pkg/compiler/lib/src/ssa/locals_handler.dart
+++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
@@ -10,7 +10,7 @@ import '../elements/types.dart';
import '../io/source_information.dart';
import '../js_backend/native_data.dart';
import '../js_backend/interceptor_data.dart';
-import '../js_model/closure.dart' show JBoxedField, JClosureField;
+import '../js_model/closure.dart' show JRecord, JClosureField;
import '../tree/tree.dart' as ast;
import '../types/types.dart';
import '../world.dart' show ClosedWorld;
@@ -362,7 +362,7 @@ class LocalsHandler {
// the box.
if (redirect is BoxFieldElement) {
localBox = redirect.box;
- } else if (redirect is JBoxedField) {
+ } else if (redirect is JRecord) {
localBox = redirect.box;
}
assert(localBox != null);
@@ -432,7 +432,7 @@ class LocalsHandler {
BoxLocal localBox;
if (redirect is BoxFieldElement) {
localBox = redirect.box;
- } else if (redirect is JBoxedField) {
+ } else if (redirect is JRecord) {
localBox = redirect.box;
}
assert(localBox != null);
« no previous file with comments | « pkg/compiler/lib/src/kernel/env.dart ('k') | pkg/compiler/lib/src/universe/use.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698