| 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 second()->PrintNameTo(stream); | 660 second()->PrintNameTo(stream); |
| 661 stream->Add(" "); | 661 stream->Add(" "); |
| 662 stream->Add("#%d", argument_count()); | 662 stream->Add("#%d", argument_count()); |
| 663 } | 663 } |
| 664 | 664 |
| 665 | 665 |
| 666 void HBoundsCheck::PrintDataTo(StringStream* stream) { | 666 void HBoundsCheck::PrintDataTo(StringStream* stream) { |
| 667 index()->PrintNameTo(stream); | 667 index()->PrintNameTo(stream); |
| 668 stream->Add(" "); | 668 stream->Add(" "); |
| 669 length()->PrintNameTo(stream); | 669 length()->PrintNameTo(stream); |
| 670 if (lower_offset() != 0 || upper_offset() != 0) { |
| 671 stream->Add(" offset[%d,%d]", lower_offset(), upper_offset()); |
| 672 } |
| 670 } | 673 } |
| 671 | 674 |
| 672 | 675 |
| 673 void HCallConstantFunction::PrintDataTo(StringStream* stream) { | 676 void HCallConstantFunction::PrintDataTo(StringStream* stream) { |
| 674 if (IsApplyFunction()) { | 677 if (IsApplyFunction()) { |
| 675 stream->Add("optimized apply "); | 678 stream->Add("optimized apply "); |
| 676 } else { | 679 } else { |
| 677 stream->Add("%o ", function()->shared()->DebugName()); | 680 stream->Add("%o ", function()->shared()->DebugName()); |
| 678 } | 681 } |
| 679 stream->Add("#%d", argument_count()); | 682 stream->Add("#%d", argument_count()); |
| (...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2520 | 2523 |
| 2521 | 2524 |
| 2522 void HCheckPrototypeMaps::Verify() { | 2525 void HCheckPrototypeMaps::Verify() { |
| 2523 HInstruction::Verify(); | 2526 HInstruction::Verify(); |
| 2524 ASSERT(HasNoUses()); | 2527 ASSERT(HasNoUses()); |
| 2525 } | 2528 } |
| 2526 | 2529 |
| 2527 #endif | 2530 #endif |
| 2528 | 2531 |
| 2529 } } // namespace v8::internal | 2532 } } // namespace v8::internal |
| OLD | NEW |