| 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 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 stream->Add(" push "); | 1077 stream->Add(" push "); |
| 1078 } else { | 1078 } else { |
| 1079 stream->Add(" var[%d] = ", GetAssignedIndexAt(i)); | 1079 stream->Add(" var[%d] = ", GetAssignedIndexAt(i)); |
| 1080 } | 1080 } |
| 1081 values_[i]->PrintNameTo(stream); | 1081 values_[i]->PrintNameTo(stream); |
| 1082 } | 1082 } |
| 1083 } | 1083 } |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 | 1086 |
| 1087 void HDeoptimize::PrintDataTo(StringStream* stream) { |
| 1088 if (OperandCount() == 0) return; |
| 1089 OperandAt(0)->PrintNameTo(stream); |
| 1090 for (int i = 1; i < OperandCount(); ++i) { |
| 1091 stream->Add(" "); |
| 1092 OperandAt(i)->PrintNameTo(stream); |
| 1093 } |
| 1094 } |
| 1095 |
| 1096 |
| 1087 void HEnterInlined::PrintDataTo(StringStream* stream) { | 1097 void HEnterInlined::PrintDataTo(StringStream* stream) { |
| 1088 SmartPointer<char> name = function()->debug_name()->ToCString(); | 1098 SmartPointer<char> name = function()->debug_name()->ToCString(); |
| 1089 stream->Add("%s, id=%d", *name, function()->id()); | 1099 stream->Add("%s, id=%d", *name, function()->id()); |
| 1090 } | 1100 } |
| 1091 | 1101 |
| 1092 | 1102 |
| 1093 HConstant::HConstant(Handle<Object> handle, Representation r) | 1103 HConstant::HConstant(Handle<Object> handle, Representation r) |
| 1094 : handle_(handle), | 1104 : handle_(handle), |
| 1095 has_int32_value_(false), | 1105 has_int32_value_(false), |
| 1096 has_double_value_(false), | 1106 has_double_value_(false), |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1760 | 1770 |
| 1761 | 1771 |
| 1762 void HCheckPrototypeMaps::Verify() { | 1772 void HCheckPrototypeMaps::Verify() { |
| 1763 HInstruction::Verify(); | 1773 HInstruction::Verify(); |
| 1764 ASSERT(HasNoUses()); | 1774 ASSERT(HasNoUses()); |
| 1765 } | 1775 } |
| 1766 | 1776 |
| 1767 #endif | 1777 #endif |
| 1768 | 1778 |
| 1769 } } // namespace v8::internal | 1779 } } // namespace v8::internal |
| OLD | NEW |