summaryrefslogtreecommitdiff
path: root/js/src/jsfun.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsfun.h')
-rw-r--r--js/src/jsfun.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jsfun.h b/js/src/jsfun.h
index f3643f1e63..234169507d 100644
--- a/js/src/jsfun.h
+++ b/js/src/jsfun.h
@@ -585,6 +585,10 @@ class JSFunction : public js::NativeObject
return offsetof(JSFunction, u.nativeOrScript);
}
+ static unsigned offsetOfJitInfo() {
+ return offsetof(JSFunction, u.n.jitinfo);
+ }
+
inline void trace(JSTracer* trc);
/* Bound function accessors. */