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

Unified Diff: runtime/vm/intermediate_language_ia32.cc

Issue 2941643002: Check for a passed-in type argument vector in the prolog of generic functions. (Closed)
Patch Set: address review comments Created 3 years, 6 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/il_printer.cc ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_ia32.cc
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
index 42da2f0ad77bc63b08030a43302c44652ba146b9..8aaf3771855e33f04242ef347ad43200b9ddad6c 100644
--- a/runtime/vm/intermediate_language_ia32.cc
+++ b/runtime/vm/intermediate_language_ia32.cc
@@ -2349,8 +2349,8 @@ void InstantiateTypeArgumentsInstr::EmitNativeCode(
__ movl(EDX, Address(EDI, 0 * kWordSize)); // Cached instantiator type args.
__ cmpl(EDX, instantiator_type_args_reg);
__ j(NOT_EQUAL, &next, Assembler::kNearJump);
- __ movl(ECX, Address(EDI, 1 * kWordSize)); // Cached function type args.
- __ cmpl(ECX, function_type_args_reg);
+ __ movl(EBX, Address(EDI, 1 * kWordSize)); // Cached function type args.
+ __ cmpl(EBX, function_type_args_reg);
__ j(EQUAL, &found, Assembler::kNearJump);
__ Bind(&next);
__ addl(EDI, Immediate(StubCode::kInstantiationSizeInWords * kWordSize));
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698