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

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

Issue 2306203002: Rename HForeignNew -> HCreate (Closed)
Patch Set: Created 4 years, 3 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/ssa/ssa_tracer.dart
diff --git a/pkg/compiler/lib/src/ssa/ssa_tracer.dart b/pkg/compiler/lib/src/ssa/ssa_tracer.dart
index 131f4dca8e168c942b1d75fea7e4e50470779038..cecbfb35eece66ec8c6df79885edd71493cf95ad 100644
--- a/pkg/compiler/lib/src/ssa/ssa_tracer.dart
+++ b/pkg/compiler/lib/src/ssa/ssa_tracer.dart
@@ -202,6 +202,11 @@ class HInstructionStringifier implements HVisitor<String> {
return "Continue: (B${target.id})";
}
+ String visitCreate(HCreate node) {
+ return handleGenericInvoke(
+ "Create", "${node.element.name}", node.inputs);
+ }
+
String visitDivide(HDivide node) => handleInvokeBinary(node, 'Divide');
String visitExit(HExit node) => "Exit";
@@ -337,11 +342,6 @@ class HInstructionStringifier implements HVisitor<String> {
"ForeignCode", "${foreign.codeTemplate.ast}", foreign.inputs);
}
- String visitForeignNew(HForeignNew node) {
- return handleGenericInvoke(
- "ForeignNew", "${node.element.name}", node.inputs);
- }
-
String visitLess(HLess node) => handleInvokeBinary(node, 'Less');
String visitLessEqual(HLessEqual node) =>
handleInvokeBinary(node, 'LessEqual');
« pkg/compiler/lib/src/ssa/builder.dart ('K') | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698