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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/native_handler.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/native_handler.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/native_handler.dart b/dart/sdk/lib/_internal/compiler/implementation/native_handler.dart
index bb42db9c2fb37d0a64cf172457f70610a8f4e7cf..b4e80168a4beb26b4cbaa5274bb1b823abafcef4 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/native_handler.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/native_handler.dart
@@ -1045,17 +1045,6 @@ String checkForNativeClass(ElementListener listener) {
return nativeTagInfo;
}
-bool isOverriddenMethod(FunctionElement element,
- ClassElement cls,
- NativeEmitter nativeEmitter) {
- List<ClassElement> subtypes = nativeEmitter.subtypes[cls];
- if (subtypes == null) return false;
- for (ClassElement subtype in subtypes) {
- if (subtype.lookupLocalMember(element.name) != null) return true;
- }
- return false;
-}
-
final RegExp nativeRedirectionRegExp = new RegExp(r'^[a-zA-Z][a-zA-Z_$0-9]*$');
void handleSsaNative(SsaBuilder builder, Expression nativeBody) {

Powered by Google App Engine
This is Rietveld 408576698