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

Unified Diff: runtime/vm/object_store.cc

Issue 2859673002: Pass type argument vector to generic functions (if --reify-generic-functions is (Closed)
Patch Set: address review comments and sync Created 3 years, 7 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/vm/object.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.cc
diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc
index bae0df343ae23e3d29800b6732fa2c14c230a9ba..274c8bd6253d3812aa4b71ffe24b49abc5c56c39 100644
--- a/runtime/vm/object_store.cc
+++ b/runtime/vm/object_store.cc
@@ -247,30 +247,34 @@ void ObjectStore::InitKnownObjects() {
Function& function = Function::Handle(zone);
function_name ^= async_lib.PrivateName(Symbols::SetAsyncThreadStackTrace());
ASSERT(!function_name.IsNull());
- function ^= Resolver::ResolveStatic(async_lib, Object::null_string(),
- function_name, 1, Object::null_array());
+ function ^=
+ Resolver::ResolveStatic(async_lib, Object::null_string(), function_name,
+ 0, 1, Object::null_array());
ASSERT(!function.IsNull());
set_async_set_thread_stack_trace(function);
function_name ^= async_lib.PrivateName(Symbols::ClearAsyncThreadStackTrace());
ASSERT(!function_name.IsNull());
- function ^= Resolver::ResolveStatic(async_lib, Object::null_string(),
- function_name, 0, Object::null_array());
+ function ^=
+ Resolver::ResolveStatic(async_lib, Object::null_string(), function_name,
+ 0, 0, Object::null_array());
ASSERT(!function.IsNull());
set_async_clear_thread_stack_trace(function);
function_name ^= async_lib.PrivateName(Symbols::AsyncStarMoveNextHelper());
ASSERT(!function_name.IsNull());
- function ^= Resolver::ResolveStatic(async_lib, Object::null_string(),
- function_name, 1, Object::null_array());
+ function ^=
+ Resolver::ResolveStatic(async_lib, Object::null_string(), function_name,
+ 0, 1, Object::null_array());
ASSERT(!function.IsNull());
set_async_star_move_next_helper(function);
function_name ^= async_lib.PrivateName(Symbols::_CompleteOnAsyncReturn());
ASSERT(!function_name.IsNull());
- function ^= Resolver::ResolveStatic(async_lib, Object::null_string(),
- function_name, 2, Object::null_array());
+ function ^=
+ Resolver::ResolveStatic(async_lib, Object::null_string(), function_name,
+ 0, 2, Object::null_array());
ASSERT(!function.IsNull());
set_complete_on_async_return(function);
if (FLAG_async_debugger) {
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698