From 6f63373bb239f27dc2b29cdb6ace8297f30992a7 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Fri, 28 Jan 2000 13:25:55 +0000 Subject: [PATCH] - This makes the switch() statement twice as quick. Moving to enum might make this a general speed up for other platforms too --- Zend/zend_execute.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 380ba61627..b0f20d73e5 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -2270,8 +2270,12 @@ send_by_ref: case ZEND_EXT_NOP: case ZEND_NOP: break; +#if (WINNT|WIN32) /* This makes the switch() statement twice as quick. Moving to enum + might make this a general speed up for other platforms too */ default: + __assume(0); break; +#endif } opline++; } -- 2.40.0