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)); |