Index: src/x64/ic-x64.cc |
=================================================================== |
--- src/x64/ic-x64.cc (revision 3394) |
+++ src/x64/ic-x64.cc (working copy) |
@@ -378,7 +378,7 @@ |
// ExternalArray. |
// rax: index (as a smi) |
// rcx: JSObject |
- __ movq(rcx, FieldOperand(rdx, JSObject::kElementsOffset)); |
+ __ movq(rcx, FieldOperand(rcx, JSObject::kElementsOffset)); |
__ CompareRoot(FieldOperand(rcx, HeapObject::kMapOffset), |
Heap::RootIndexForExternalArrayType(array_type)); |
__ j(not_equal, &slow); |