Chromium Code Reviews| Index: runtime/vm/intrinsifier_ia32.cc |
| =================================================================== |
| --- runtime/vm/intrinsifier_ia32.cc (revision 2600) |
| +++ runtime/vm/intrinsifier_ia32.cc (working copy) |
| @@ -199,7 +199,7 @@ |
| __ movl(EAX, Address(ESP, + 1 * kWordSize)); // Value. |
| __ movl(EBX, Address(ESP, + 2 * kWordSize)); // Index. |
| __ orl(EAX, EBX); |
| - __ testl(EBX, Immediate(kSmiTagMask)); |
| + __ testl(EAX, Immediate(kSmiTagMask)); |
|
siva
2011/12/20 01:38:00
Is there a unit test which exposes this bug and va
srdjan
2011/12/20 02:06:33
It is difficult to test, since the only thing it d
|
| // Value or index not Smi. |
| __ j(NOT_ZERO, &fall_through, Assembler::kNearJump); |
| __ movl(EAX, Address(ESP, + 3 * kWordSize)); // Array. |