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

Unified Diff: runtime/vm/regexp_assembler_ir.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/precompiler.cc ('k') | runtime/vm/resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_assembler_ir.cc
diff --git a/runtime/vm/regexp_assembler_ir.cc b/runtime/vm/regexp_assembler_ir.cc
index bfe90b2350dbf54e15eeac03ee7efac90bc604fc..23aa5233dbe01031e5dc5203010783022abec3d9 100644
--- a/runtime/vm/regexp_assembler_ir.cc
+++ b/runtime/vm/regexp_assembler_ir.cc
@@ -537,9 +537,10 @@ StaticCallInstr* IRRegExpMacroAssembler::StaticCall(
StaticCallInstr* IRRegExpMacroAssembler::StaticCall(
const Function& function,
ZoneGrowableArray<PushArgumentInstr*>* arguments) const {
+ const intptr_t kTypeArgsLen = 0;
return new (Z)
- StaticCallInstr(TokenPosition::kNoSource, function, Object::null_array(),
- arguments, ic_data_array_);
+ StaticCallInstr(TokenPosition::kNoSource, function, kTypeArgsLen,
+ Object::null_array(), arguments, ic_data_array_);
}
@@ -585,9 +586,11 @@ InstanceCallInstr* IRRegExpMacroAssembler::InstanceCall(
InstanceCallInstr* IRRegExpMacroAssembler::InstanceCall(
const InstanceCallDescriptor& desc,
ZoneGrowableArray<PushArgumentInstr*>* arguments) const {
- return new (Z) InstanceCallInstr(
- TokenPosition::kNoSource, desc.name, desc.token_kind, arguments,
- Object::null_array(), desc.checked_argument_count, ic_data_array_);
+ const intptr_t kTypeArgsLen = 0;
+ return new (Z)
+ InstanceCallInstr(TokenPosition::kNoSource, desc.name, desc.token_kind,
+ arguments, kTypeArgsLen, Object::null_array(),
+ desc.checked_argument_count, ic_data_array_);
}
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698