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

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

Issue 2937203002: Add J-elements (Closed)
Patch Set: Updated cf. comments 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/builder.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder_kernel.dart
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart
index bb65e1e157b22d54b135d2fd9286535f30d89b5b..29efea4b5fe03ec9dde95df1ff3453ffbe707d70 100644
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
@@ -45,7 +45,7 @@ import 'ssa_branch_builder.dart';
import 'switch_continue_analysis.dart';
import 'type_builder.dart';
-class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
+class KernelSsaGraphBuilder extends ir.Visitor with GraphBuilder {
final ir.Node target;
final bool _targetIsConstructorBody;
final MemberEntity targetElement;
@@ -98,7 +98,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
/// this is a slow path.
bool _inExpressionOfThrow = false;
- KernelSsaBuilder(
+ KernelSsaGraphBuilder(
this.targetElement,
ClassEntity contextClass,
this.target,
@@ -273,7 +273,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
// Doing this instead of fieldValues.forEach because we haven't defined the
// order of the arguments here. We can define that with JElements.
ClassEntity cls = _elementMap.getClass(constructedClass);
- InterfaceType thisType = _elementMap.getThisType(cls);
+ InterfaceType thisType = _elementMap.elementEnvironment.getThisType(cls);
_worldBuilder.forEachInstanceField(cls,
(ClassEntity enclosingClass, FieldEntity member) {
var value = fieldValues[member];
@@ -3268,7 +3268,7 @@ class TryCatchFinallyBuilder {
HBasicBlock exitBlock;
HTry tryInstruction;
HLocalValue exception;
- KernelSsaBuilder kernelBuilder;
+ KernelSsaGraphBuilder kernelBuilder;
/// True if the code surrounding this try statement was also part of a
/// try/catch/finally statement.
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698