Changeset 241335 in webkit for trunk/Source/JavaScriptCore/b3/B3Value.cpp
- Timestamp:
- Feb 12, 2019, 6:30:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/b3/B3Value.cpp
r239427 r241335 500 500 return asInt32() == 0 || asInt32() == 1; 501 501 case BitAnd: 502 return child(1)->isInt32(1) 503 || (child(0)->returnsBool() && child(1)->hasInt() && child(1)->asInt() & 1); 502 return child(0)->returnsBool() || child(1)->returnsBool(); 503 case BitOr: 504 case BitXor: 505 return child(0)->returnsBool() && child(1)->returnsBool(); 506 case Select: 507 return child(1)->returnsBool() && child(2)->returnsBool(); 508 case Identity: 509 return child(0)->returnsBool(); 504 510 case Equal: 505 511 case NotEqual:
Note:
See TracChangeset
for help on using the changeset viewer.