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

Unified Diff: lib/compiler/implementation/js_backend/native_emitter.dart

Issue 10919316: Address Peter's comments on the new parameter specification implementation. (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
« no previous file with comments | « lib/compiler/implementation/js_backend/namer.dart ('k') | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/js_backend/native_emitter.dart
===================================================================
--- lib/compiler/implementation/js_backend/native_emitter.dart (revision 12495)
+++ lib/compiler/implementation/js_backend/native_emitter.dart (working copy)
@@ -412,7 +412,7 @@
// In order to have the toString method on every native class,
// we must patch the JS Object prototype with a helper method.
- String toStringName = backend.namer.instanceMethodNameByArity(
+ String toStringName = backend.namer.publicInstanceMethodNameByArity(
const SourceString('toString'), 0);
objectProperties[toStringName] =
'function() { return $toStringHelperName(this); }';
« no previous file with comments | « lib/compiler/implementation/js_backend/namer.dart ('k') | lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698