diff --git a/js/src/asmjs/WasmIonCompile.cpp b/js/src/asmjs/WasmIonCompile.cpp index e0de6026d59e..b401bfeed28d 100644 --- a/js/src/asmjs/WasmIonCompile.cpp +++ b/js/src/asmjs/WasmIonCompile.cpp @@ -1011,27 +1011,6 @@ class FunctionCompiler return true; } - bool usesPhiSlot() - { - return curBlock_->stackDepth() == info().firstStackSlot() + 1; - } - - void pushPhiInput(MDefinition* def) - { - if (inDeadCode()) - return; - MOZ_ASSERT(!usesPhiSlot()); - curBlock_->push(def); - } - - MDefinition* popPhiOutput() - { - if (inDeadCode()) - return nullptr; - MOZ_ASSERT(usesPhiSlot()); - return curBlock_->pop(); - } - bool startBlock() { MOZ_ASSERT_IF(blockDepth_ < targets_.length(), targets_[blockDepth_].empty());