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

Unified Diff: pkg/compiler/lib/src/js_backend/namer.dart

Issue 928203003: Implement Function.apply in the new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: pkg/compiler/lib/src/js_backend/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index ac3965889516ed15b83070d2484dfeb40a729e9e..b802f95112650895ebd486625edaba24bfe39e28 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -233,6 +233,7 @@ class Namer implements ClosureNamer {
r'$methodsWithOptionalArguments';
final String classDescriptorProperty = r'^';
+ final String requiredParameterField = r'$requiredArgCount';
// Name of property in a class description for the native dispatch metadata.
final String nativeSpecProperty = '%';
@@ -307,6 +308,8 @@ class Namer implements ClosureNamer {
case 'CALL_CATCH_ALL': return callCatchAllName;
case 'REFLECTABLE': return reflectableField;
case 'CLASS_DESCRIPTOR_PROPERTY': return classDescriptorProperty;
+ case 'REQUIRED_PARAMETER_PROPERTY': return requiredParameterField;
+ case 'DEFAULT_VALUES_PROPERTY': return defaultValuesField;
default:
compiler.reportError(
node, MessageKind.GENERIC,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/model.dart » ('j') | pkg/compiler/lib/src/js_emitter/model.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698