Bug 862932 - Fix inlineUnsafeSetTypedArrayElement to match other inlined array ops. r=nmatsakis

This commit is contained in:
Felix S. Klock II 2013-04-17 14:58:07 +02:00
parent 6ba087a6e6
commit 0e84496a1d

View File

@ -1027,9 +1027,9 @@ IonBuilder::inlineUnsafeSetTypedArrayElement(CallInfo &callInfo,
// - arr is a typed array
// - idx < length
uint32_t arri = base + 1;
uint32_t idxi = base + 2;
uint32_t elemi = base + 3;
uint32_t arri = base + 0;
uint32_t idxi = base + 1;
uint32_t elemi = base + 2;
MInstruction *elements = getTypedArrayElements(callInfo.getArg(arri));
current->add(elements);