diff --git a/Library/ClassMethod.php b/Library/ClassMethod.php index 6071068c4..1ee25f0a4 100644 --- a/Library/ClassMethod.php +++ b/Library/ClassMethod.php @@ -1593,11 +1593,6 @@ public function compile(CompilationContext $compilationContext): void */ $compilationContext->currentMethod = $this; - /** - * Initialize the method warm-up to null - */ - $compilationContext->methodWarmUp = null; - /** * Assign pre-made compilation passes. */ diff --git a/Library/CompilationContext.php b/Library/CompilationContext.php index db3b7d162..915e0044a 100644 --- a/Library/CompilationContext.php +++ b/Library/CompilationContext.php @@ -84,13 +84,6 @@ class CompilationContext */ public ?ClassMethod $currentMethod = null; - /** - * Methods warm-up. - * - * @var MethodCallWarmUp|null - */ - public ?MethodCallWarmUp $methodWarmUp = null; - /** * Represents the c-headers added to the file. * diff --git a/Library/MethodCallWarmUp.php b/Library/MethodCallWarmUp.php deleted file mode 100644 index 46d4d8223..000000000 --- a/Library/MethodCallWarmUp.php +++ /dev/null @@ -1,38 +0,0 @@ - - * - * For the full copyright and license information, please view - * the LICENSE file that was distributed with this source code. - */ - -namespace Zephir; - -/** - * MethodCallWarmUp. - * - * List of methods that require warm up - */ -class MethodCallWarmUp -{ - private $warmUps = []; - - /** - * @param ClassDefinition $classDefinition - * @param ClassMethod $method - */ - public function add(ClassDefinition $classDefinition, ClassMethod $method) - { - $this->warmUps[] = [ - $classDefinition, - $method, - ]; - } - - public function get() - { - } -}