Skip to content

Commit d2c6bf2

Browse files
committed
Folder mark
1 parent 5f900b3 commit d2c6bf2

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Zend/zend_operators.c

+10-6
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ ZEND_API void ZEND_FASTCALL convert_scalar_to_number(zval *op) /* {{{ */
199199
}
200200
/* }}} */
201201

202-
/* {{{ _zendi_convert_scalar_to_number */
203202
static zend_never_inline zval* ZEND_FASTCALL _zendi_convert_scalar_to_number_silent(zval *op, zval *holder) /* {{{ */
204203
{
205204
switch (Z_TYPE_P(op)) {
@@ -270,7 +269,7 @@ static zend_never_inline int ZEND_FASTCALL _zendi_try_convert_scalar_to_number(z
270269
}
271270
/* }}} */
272271

273-
static zend_always_inline int zendi_try_convert_scalar_to_number(zval *op, zval *holder)
272+
static zend_always_inline int zendi_try_convert_scalar_to_number(zval *op, zval *holder) /* {{{ */
274273
{
275274
if (Z_TYPE_P(op) == IS_LONG || Z_TYPE_P(op) == IS_DOUBLE) {
276275
ZVAL_COPY_VALUE(holder, op);
@@ -279,6 +278,7 @@ static zend_always_inline int zendi_try_convert_scalar_to_number(zval *op, zval
279278
return _zendi_try_convert_scalar_to_number(op, holder);
280279
}
281280
}
281+
/* }}} */
282282

283283
#define ZEND_TRY_BINARY_OP1_OBJECT_OPERATION(opcode) \
284284
if (UNEXPECTED(Z_TYPE_P(op1) == IS_OBJECT) \
@@ -626,7 +626,7 @@ ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op) /* {{{ */
626626
}
627627
/* }}} */
628628

629-
ZEND_API zend_bool ZEND_FASTCALL _try_convert_to_string(zval *op)
629+
ZEND_API zend_bool ZEND_FASTCALL _try_convert_to_string(zval *op) /* {{{ */
630630
{
631631
zend_string *str;
632632

@@ -639,6 +639,7 @@ ZEND_API zend_bool ZEND_FASTCALL _try_convert_to_string(zval *op)
639639
ZVAL_STR(op, str);
640640
return 1;
641641
}
642+
/* }}} */
642643

643644
static void convert_scalar_to_array(zval *op) /* {{{ */
644645
{
@@ -943,15 +944,15 @@ ZEND_API zend_string* ZEND_FASTCALL zval_try_get_string_func(zval *op) /* {{{ */
943944
}
944945
/* }}} */
945946

946-
static ZEND_COLD zend_never_inline void ZEND_FASTCALL zend_binop_error(
947-
const char *operator, zval *op1, zval *op2) {
947+
static ZEND_COLD zend_never_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ {
948948
if (EG(exception)) {
949949
return;
950950
}
951951

952952
zend_type_error("Unsupported operand types: %s %s %s",
953953
zend_get_type_by_const(Z_TYPE_P(op1)), operator, zend_get_type_by_const(Z_TYPE_P(op2)));
954954
}
955+
/* }}} */
955956

956957
static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) /* {{{ */
957958
{
@@ -1123,6 +1124,7 @@ static zend_always_inline int mul_function_fast(zval *result, zval *op1, zval *o
11231124
return FAILURE;
11241125
}
11251126
}
1127+
/* }}} */
11261128

11271129
static zend_never_inline int ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */
11281130
{
@@ -1302,6 +1304,7 @@ static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /
13021304
return FAILURE;
13031305
}
13041306
}
1307+
/* }}} */
13051308

13061309
ZEND_API int ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */
13071310
{
@@ -3083,7 +3086,7 @@ ZEND_API const char* ZEND_FASTCALL zend_memnrstr_ex(const char *haystack, const
30833086

30843087
#if !ZEND_DVAL_TO_LVAL_CAST_OK
30853088
# if SIZEOF_ZEND_LONG == 4
3086-
ZEND_API zend_long ZEND_FASTCALL zend_dval_to_lval_slow(double d)
3089+
ZEND_API zend_long ZEND_FASTCALL zend_dval_to_lval_slow(double d) /* {{{ */
30873090
{
30883091
double two_pow_32 = pow(2., 32.),
30893092
dmod;
@@ -3110,5 +3113,6 @@ ZEND_API zend_long ZEND_FASTCALL zend_dval_to_lval_slow(double d)
31103113
}
31113114
return (zend_long)(zend_ulong)dmod;
31123115
}
3116+
/* }}} */
31133117
#endif
31143118
#endif

0 commit comments

Comments
 (0)