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

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

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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/builder.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index 19baa09433fc77bc27563f882ae2e6626598588b..78587db79256e2851ae5ebb5c0507dd75ac5e970 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -315,12 +315,6 @@ class LocalsHandler {
}
}
- bool hasValueForDirectLocal(Element element) {
- assert(element != null);
- assert(isAccessedDirectly(element));
- return directLocals[element] != null;
- }
-
/**
* Returns true if the local can be accessed directly. Boxed variables or
* captured variables that are stored in the closure-field return [false].
@@ -2985,11 +2979,6 @@ class SsaBuilder extends ResolvedVisitor with SsaGraphBuilderMixin {
return new HForeign(code, type, inputs);
}
- HInstruction getRuntimeTypeInfo(HInstruction target) {
- pushInvokeStatic(null, backend.getGetRuntimeTypeInfo(), [target]);
- return pop();
- }
-
HLiteralList buildLiteralList(List<HInstruction> inputs) {
return new HLiteralList(inputs, backend.extendableArrayType);
}
@@ -5314,12 +5303,6 @@ class SsaBuilder extends ResolvedVisitor with SsaGraphBuilderMixin {
jumpHandler.close();
}
- Element lookupOperator(ClassElement classElement, String operatorName) {
- String dartMethodName =
- Elements.constructOperatorName(operatorName, false);
- return classElement.lookupMember(dartMethodName);
- }
-
visitSwitchCase(SwitchCase node) {
compiler.internalError('SsaBuilder.visitSwitchCase');
}

Powered by Google App Engine
This is Rietveld 408576698