Bug 989204 followup - Fix Windows build. r=red

This commit is contained in:
Jan de Mooij 2014-04-03 12:08:31 +02:00
parent a6de8d6ca3
commit 20092ee324

View File

@ -539,7 +539,7 @@ class FunctionExtended : public JSFunction
static const unsigned NUM_EXTENDED_SLOTS = 2;
static inline size_t offsetOfArrowThisSlot() {
return offsetof(FunctionExtended, extendedSlots) + 0 * sizeof(extendedSlots[0]);
return offsetof(FunctionExtended, extendedSlots) + 0 * sizeof(HeapValue);
}
private: