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

Unified Diff: runtime/vm/object.h

Issue 8664015: Update function type checking in VM after spec change (issue 444): (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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 | « no previous file | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 1882)
+++ runtime/vm/object.h (working copy)
@@ -1336,6 +1336,16 @@
const Function& other,
const TypeArguments& other_type_arguments) const;
+ // Checks the types (and names, if 'check_names' is true) of the formal
+ // parameters in the specified range of this function type and of the other
+ // function type.
srdjan 2011/11/29 01:01:59 Add comment about from/to_parameter
regis 2011/11/29 01:48:21 Function changed.
+ bool CheckParameters(const TypeArguments& type_arguments,
+ const Function& other,
+ const TypeArguments& other_type_arguments,
+ intptr_t from_parameter,
+ intptr_t to_parameter,
+ bool check_names) const;
+
HEAP_OBJECT_IMPLEMENTATION(Function, Object);
friend class Class;
};
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698