diff --git a/js/src/jit/MCallOptimize.cpp b/js/src/jit/MCallOptimize.cpp index 8ea0a204d41f..529f5e2e05ad 100644 --- a/js/src/jit/MCallOptimize.cpp +++ b/js/src/jit/MCallOptimize.cpp @@ -1615,7 +1615,7 @@ IonBuilder::inlineObjectCreate(CallInfo &callInfo) if (callInfo.argc() != 1 || callInfo.constructing()) return InliningStatus_NotInlined; - NativeObject *templateObject = inspector->getTemplateObjectForNative(pc, obj_create); + JSObject *templateObject = inspector->getTemplateObjectForNative(pc, obj_create); if (!templateObject) return InliningStatus_NotInlined;