OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 stream->Add(" %s to %s", from_.Mnemonic(), to().Mnemonic()); | 747 stream->Add(" %s to %s", from_.Mnemonic(), to().Mnemonic()); |
748 | 748 |
749 if (CanTruncateToInt32()) stream->Add(" truncating-int32"); | 749 if (CanTruncateToInt32()) stream->Add(" truncating-int32"); |
750 if (CheckFlag(kBailoutOnMinusZero)) stream->Add(" -0?"); | 750 if (CheckFlag(kBailoutOnMinusZero)) stream->Add(" -0?"); |
751 } | 751 } |
752 | 752 |
753 | 753 |
754 HCheckInstanceType* HCheckInstanceType::NewIsJSObjectOrJSFunction( | 754 HCheckInstanceType* HCheckInstanceType::NewIsJSObjectOrJSFunction( |
755 HValue* value) { | 755 HValue* value) { |
756 STATIC_ASSERT((LAST_JS_OBJECT_TYPE + 1) == JS_FUNCTION_TYPE); | 756 STATIC_ASSERT((LAST_JS_OBJECT_TYPE + 1) == JS_FUNCTION_TYPE); |
757 return new HCheckInstanceType(value, FIRST_JS_OBJECT_TYPE, JS_FUNCTION_TYPE); | 757 return new HCheckInstanceType(value, |
| 758 FIRST_JS_OBJECT_TYPE, JS_FUNCTION_TYPE, |
| 759 0, 0); |
758 } | 760 } |
759 | 761 |
760 | 762 |
761 void HCheckMap::PrintDataTo(StringStream* stream) { | 763 void HCheckMap::PrintDataTo(StringStream* stream) { |
762 value()->PrintNameTo(stream); | 764 value()->PrintNameTo(stream); |
763 stream->Add(" %p", *map()); | 765 stream->Add(" %p", *map()); |
764 } | 766 } |
765 | 767 |
766 | 768 |
767 void HCheckFunction::PrintDataTo(StringStream* stream) { | 769 void HCheckFunction::PrintDataTo(StringStream* stream) { |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 | 1688 |
1687 | 1689 |
1688 void HCheckPrototypeMaps::Verify() { | 1690 void HCheckPrototypeMaps::Verify() { |
1689 HInstruction::Verify(); | 1691 HInstruction::Verify(); |
1690 ASSERT(HasNoUses()); | 1692 ASSERT(HasNoUses()); |
1691 } | 1693 } |
1692 | 1694 |
1693 #endif | 1695 #endif |
1694 | 1696 |
1695 } } // namespace v8::internal | 1697 } } // namespace v8::internal |
OLD | NEW |