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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
index 1af7f49f8ff52a962415b0d216959bbb39b2c7a9..9bc7ee0864eb1a0511f67b6bd194299e28d3b1b4 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -65,11 +65,6 @@ class SsaCodeGeneratorTask extends CompilerTask {
return attachPosition(new js.Fun(parameters, body), element);
}
- CodeBuffer prettyPrint(js.Node node) {
- var code = js.prettyPrint(node, compiler, allowVariableMinification: true);
- return code;
- }
-
js.Expression generateCode(CodegenWorkItem work, HGraph graph) {
if (work.element.isField()) {
return generateLazyInitializer(work, graph);
@@ -408,10 +403,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
return !identical(expressionType(info), TYPE_STATEMENT);
}
- bool isJSDeclaration(HExpressionInformation info) {
- return identical(expressionType(info), TYPE_DECLARATION);
- }
-
bool isJSCondition(HExpressionInformation info) {
HSubExpressionBlockInformation graph = info;
SubExpression limits = graph.subExpression;
@@ -695,10 +686,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
return true;
}
- bool visitSequenceInfo(HStatementSequenceInformation info) {
- return false;
- }
-
bool visitSubGraphInfo(HSubGraphBlockInformation info) {
visitSubGraph(info.subGraph);
return true;
@@ -708,10 +695,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
return false;
}
- bool visitAndOrInfo(HAndOrBlockInformation info) {
- return false;
- }
-
bool visitTryInfo(HTryBlockInformation info) {
js.Block body = generateStatementsInNewBlock(info.body);
js.Catch catchPart = null;

Powered by Google App Engine
This is Rietveld 408576698