diff --git a/js/src/jit/InlineScriptTree.h b/js/src/jit/InlineScriptTree.h index 4e009243579e..955f8e278a13 100644 --- a/js/src/jit/InlineScriptTree.h +++ b/js/src/jit/InlineScriptTree.h @@ -57,12 +57,6 @@ class InlineScriptTree { bool isOutermostCaller() const { return caller_ == nullptr; } bool hasCaller() const { return caller_ != nullptr; } - InlineScriptTree* outermostCaller() { - if (isOutermostCaller()) { - return this; - } - return caller_->outermostCaller(); - } jsbytecode* callerPc() const { return callerPc_; }