Index: runtime/vm/flow_graph_compiler_mips.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_mips.cc (revision 38283) |
+++ runtime/vm/flow_graph_compiler_mips.cc (working copy) |
@@ -1281,8 +1281,8 @@ |
const MegamorphicCache& cache = |
MegamorphicCache::ZoneHandle(table->Lookup(name, arguments_descriptor)); |
__ TraceSimMsg("MegamorphicInstanceCall"); |
- __ lw(T0, Address(SP, (argument_count - 1) * kWordSize)); |
- __ LoadTaggedClassIdMayBeSmi(T0, T0); |
+ __ lw(T1, Address(SP, (argument_count - 1) * kWordSize)); |
+ __ LoadTaggedClassIdMayBeSmi(T0, T1); |
// T0: class ID of the receiver (smi). |
__ LoadObject(T1, cache); |