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

Unified Diff: runtime/lib/function.dart

Issue 1584223006: Remove signature classes from the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 4 years, 11 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 | « runtime/lib/function.cc ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/function.dart
diff --git a/runtime/lib/function.dart b/runtime/lib/function.dart
index d91ce66ff1dff532b05dbd0a378345bcd179b2a4..6c1d5ccbd9d5228e8778c1b91d4599b4eaee1618 100644
--- a/runtime/lib/function.dart
+++ b/runtime/lib/function.dart
@@ -2,13 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class _FunctionImpl implements Function {
+class _Closure implements Function {
- bool operator ==(other) native "FunctionImpl_equals";
+ bool operator ==(other) native "Closure_equals";
- int get hashCode native "FunctionImpl_hashCode";
+ int get hashCode native "Closure_hashCode";
- _FunctionImpl get call => this;
+ _Closure get call => this;
- _FunctionImpl _clone() native "FunctionImpl_clone";
+ _Closure _clone() native "Closure_clone";
+
+ // The type_arguments_, function_, and context_ fields are not declared here.
}
« no previous file with comments | « runtime/lib/function.cc ('k') | runtime/lib/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698