Skip to content

Commit

Permalink
Remove unused flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Dec 14, 2020
1 parent 66e3907 commit b337702
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions ext/opcache/Optimizer/zend_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,6 @@ static void zend_dump_type_info(uint32_t info, zend_class_entry *ce, int is_inst
fprintf(stderr, "resource");
}
}
//TODO: this is useful only for JIT???
if (info & MAY_BE_IN_REG) {
if (first) first = 0; else fprintf(stderr, ", ");
fprintf(stderr, "reg");
}
fprintf(stderr, "]");
}

Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/Optimizer/zend_inference.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define MAY_BE_PACKED_GUARD (1<<27) /* needs packed array guard */
#define MAY_BE_CLASS_GUARD (1<<27) /* needs class guard */
#define MAY_BE_GUARD (1<<28) /* needs type guard */
#define MAY_BE_IN_REG (1<<29) /* value allocated in CPU register */
//#define MAY_BE_IN_REG (1<<29) /* deprecated and not used */

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

0 comments on commit b337702

Please sign in to comment.