Skip to content

Commit b337702

Browse files
committed
Remove unused flag
1 parent 66e3907 commit b337702

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

ext/opcache/Optimizer/zend_dump.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,6 @@ static void zend_dump_type_info(uint32_t info, zend_class_entry *ce, int is_inst
319319
fprintf(stderr, "resource");
320320
}
321321
}
322-
//TODO: this is useful only for JIT???
323-
if (info & MAY_BE_IN_REG) {
324-
if (first) first = 0; else fprintf(stderr, ", ");
325-
fprintf(stderr, "reg");
326-
}
327322
fprintf(stderr, "]");
328323
}
329324

ext/opcache/Optimizer/zend_inference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define MAY_BE_PACKED_GUARD (1<<27) /* needs packed array guard */
3030
#define MAY_BE_CLASS_GUARD (1<<27) /* needs class guard */
3131
#define MAY_BE_GUARD (1<<28) /* needs type guard */
32-
#define MAY_BE_IN_REG (1<<29) /* value allocated in CPU register */
32+
//#define MAY_BE_IN_REG (1<<29) /* deprecated and not used */
3333

3434
//TODO: remome MAY_BE_RC1, MAY_BE_RCN???
3535
#define MAY_BE_RC1 (1<<30) /* may be non-reference with refcount == 1 */

0 commit comments

Comments
 (0)