[INFER] Fix build breaks.

This commit is contained in:
Brian Hackett 2011-08-09 20:51:22 -07:00
parent 2b67b73ad5
commit 21eec4face
3 changed files with 14 additions and 18 deletions

View File

@ -533,15 +533,6 @@ namespace JSC {
m_buffer.putInt(static_cast<ARMWord>(cc) | MULL | RN(rdhi) | RD(rdlo) | RS(rn) | RM(rm));
}
void fmuld_r(int dd, int dn, int dm, Condition cc = AL)
{
js::JaegerSpew(js::JSpew_Insns,
IPFX "%-15s %s, %s, %s\n", MAYBE_PAD, "vmul.f64", nameFpRegD(dd), nameFpRegD(dn), nameFpRegD(dm));
// TODO: emitInst doesn't work for VFP instructions, though it
// seems to work for current usage.
emitInst(static_cast<ARMWord>(cc) | FMULD, dd, dn, dm);
}
// pc relative loads (useful for loading from pools).
void ldr_imm(int rd, ARMWord imm, Condition cc = AL)
{
@ -1480,8 +1471,6 @@ namespace JSC {
VFP_DTR = 0x01000000,
VFP_MOV = 0x00000010,
FCPYD = 0x0eb00b40,
FDIVD = 0x0e800b00,
FMSR = 0x0e000a10,
FMRS = 0x0e100a10,
FSITOD = 0x0eb80bc0,

View File

@ -543,6 +543,18 @@ TypedArray::obj_setAttributes(JSContext *cx, JSObject *obj, jsid id, uintN *attr
return false;
}
/* static */ int
TypedArray::lengthOffset()
{
return JSObject::getFixedSlotOffset(FIELD_LENGTH);
}
/* static */ int
TypedArray::dataOffset()
{
return offsetof(JSObject, privateData);
}
/* Helper clamped uint8 type */
int32 JS_FASTCALL

View File

@ -215,13 +215,8 @@ struct JS_FRIEND_API(TypedArray) {
return slotWidth(getType(obj));
}
static inline int lengthOffset() {
return JSObject::getFixedSlotOffset(FIELD_LENGTH);
}
static inline int dataOffset() {
return offsetof(JSObject, privateData);
}
static int lengthOffset();
static int dataOffset();
};
extern bool