Add in a function that was left out of the ARM port. (no bug, r=red)

This commit is contained in:
Marty Rosenberg 2012-06-15 14:18:53 -07:00
parent 9960426eec
commit ffce4d45ec

View File

@ -110,6 +110,11 @@ class IonJSFrameLayout : public IonEntryFrameLayout
void replaceCalleeToken(void *calleeToken) {
calleeToken_ = calleeToken;
}
static size_t offsetOfActualArgs() {
IonJSFrameLayout *base = NULL;
// +1 to skip |this|.
return reinterpret_cast<size_t>(&base->argv()[1]);
}
Value *argv() {
return (Value *)(this + 1);