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

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

Issue 2306203002: Rename HForeignNew -> HCreate (Closed)
Patch Set: comments and reformat 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa_branch_builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..98978000fcd9337c2e2ada914902ff6645a3db78 100644
--- a/pkg/compiler/lib/src/ssa/ssa_tracer.dart
+++ b/pkg/compiler/lib/src/ssa/ssa_tracer.dart
@@ -202,6 +202,10 @@ 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 +341,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');
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa_branch_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698