[INFER] Fix build break.
authorBrian Hackett <bhackett1024@gmail.com>
Fri, 05 Aug 2011 09:49:42 -0700
changeset 76100 b849dfd77bcb9d9e67665cb37d8e351fc8564524
parent 76099 4e4822ab5a03a68257863f8c34601ddd77bd3b0f
child 76101 3b40e4462464f75fed8ea71f839de5f2a2ef7108
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
milestone8.0a1
[INFER] Fix build break.
js/src/methodjit/PolyIC.cpp
--- a/js/src/methodjit/PolyIC.cpp
+++ b/js/src/methodjit/PolyIC.cpp
@@ -2670,17 +2670,17 @@ GetElementIC::attachTypedArray(JSContext
                  : Int32Key::FromRegister(idRemat.dataReg());
 
     js::TypedArray *tarray = js::TypedArray::fromJSObject(obj);
     MaybeRegisterID tempReg;
     masm.loadFromTypedArray(tarray->type, objReg, key, typeReg, objReg, tempReg);
 
     Jump done = masm.jump();
 
-    updatePCCounters(masm);
+    updatePCCounters(cx, masm);
 
     PICLinker buffer(masm, *this);
     if (!buffer.init(cx))
         return error(cx);
 
     if (!buffer.verifyRange(cx->fp()->jit()))
         return disable(cx, "code memory is out of range");