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

Unified Diff: lib/compiler/implementation/native_handler.dart

Issue 10911211: Runtime support for the new parameter specification. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: lib/compiler/implementation/native_handler.dart
===================================================================
--- lib/compiler/implementation/native_handler.dart (revision 12238)
+++ lib/compiler/implementation/native_handler.dart (working copy)
@@ -302,9 +302,7 @@
JavaScriptBackend backend = compiler.backend;
Namer namer = backend.namer;
if (element.kind == ElementKind.FUNCTION) {
- FunctionSignature signature = element.computeSignature(compiler);
- methodName = namer.instanceMethodName(
- element.getLibrary(), element.name, signature.parameterCount);
+ methodName = namer.instanceMethodName(element);
} else if (element.kind == ElementKind.GETTER) {
methodName = namer.getterName(element.getLibrary(), element.name);
} else if (element.kind == ElementKind.SETTER) {

Powered by Google App Engine
This is Rietveld 408576698