From 571efa94c403b4750f805776564bfbd12b2e338f Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Fri, 5 Jun 2026 16:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=AA=84=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Php/CompilerBase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Php/CompilerBase.php b/src/Php/CompilerBase.php index 05186cdb..bd62fd4e 100644 --- a/src/Php/CompilerBase.php +++ b/src/Php/CompilerBase.php @@ -1158,7 +1158,8 @@ class CompilerBase extends \PhpAot\Core\Translator $this->context->ssaBuilder = new SsaBuilder($v->stmts, $this->functionDef->argInfoList); $this->context->ssaBuilder->build(); // Narrow local variable types based on SSA analysis - $this->optimizeVarTypes(); + // TODO: 优化变量类型,不可靠,静态分析几乎无法判断是否会溢出 + // $this->optimizeVarTypes(); // Analyze object stability for property reference hoisting $this->optimizeObjectProps(); }