8077364: "if( !this )" construct prevents build on Xcode 6.3

Reviewed-by: stefank, simonis
This commit is contained in:
Staffan Larsen 2015-04-15 09:34:46 +02:00
parent f93a647092
commit 47d774ab34
4 changed files with 9 additions and 18 deletions

View file

@ -3392,7 +3392,7 @@ const char *MatchNode::reduce_left(FormDict &globals) const {
// Count occurrences of operands names in the leaves of the instruction
// match rule.
void MatchNode::count_instr_names( Dict &names ) {
if( !this ) return;
if( this == NULL ) return;
if( _lChild ) _lChild->count_instr_names(names);
if( _rChild ) _rChild->count_instr_names(names);
if( !_lChild && !_rChild ) {