OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 | 1638 |
1639 | 1639 |
1640 void HCheckInstanceType::GetCheckMaskAndTag(uint8_t* mask, uint8_t* tag) { | 1640 void HCheckInstanceType::GetCheckMaskAndTag(uint8_t* mask, uint8_t* tag) { |
1641 ASSERT(!is_interval_check()); | 1641 ASSERT(!is_interval_check()); |
1642 switch (check_) { | 1642 switch (check_) { |
1643 case IS_STRING: | 1643 case IS_STRING: |
1644 *mask = kIsNotStringMask; | 1644 *mask = kIsNotStringMask; |
1645 *tag = kStringTag; | 1645 *tag = kStringTag; |
1646 return; | 1646 return; |
1647 case IS_INTERNALIZED_STRING: | 1647 case IS_INTERNALIZED_STRING: |
1648 *mask = kIsInternalizedMask; | 1648 *mask = kIsNotInternalizedMask; |
1649 *tag = kInternalizedTag; | 1649 *tag = kInternalizedTag; |
1650 return; | 1650 return; |
1651 default: | 1651 default: |
1652 UNREACHABLE(); | 1652 UNREACHABLE(); |
1653 } | 1653 } |
1654 } | 1654 } |
1655 | 1655 |
1656 | 1656 |
1657 void HCheckMaps::HandleSideEffectDominator(GVNFlag side_effect, | 1657 void HCheckMaps::HandleSideEffectDominator(GVNFlag side_effect, |
1658 HValue* dominator) { | 1658 HValue* dominator) { |
(...skipping 2335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3994 case kBackingStore: | 3994 case kBackingStore: |
3995 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3995 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
3996 stream->Add("[backing-store]"); | 3996 stream->Add("[backing-store]"); |
3997 break; | 3997 break; |
3998 } | 3998 } |
3999 | 3999 |
4000 stream->Add("@%d", offset()); | 4000 stream->Add("@%d", offset()); |
4001 } | 4001 } |
4002 | 4002 |
4003 } } // namespace v8::internal | 4003 } } // namespace v8::internal |
OLD | NEW |