| 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 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2113 } else { | 2113 } else { |
| 2114 stream->Add(" push "); | 2114 stream->Add(" push "); |
| 2115 } | 2115 } |
| 2116 values_[i]->PrintNameTo(stream); | 2116 values_[i]->PrintNameTo(stream); |
| 2117 if (i > 0) stream->Add(","); | 2117 if (i > 0) stream->Add(","); |
| 2118 } | 2118 } |
| 2119 } | 2119 } |
| 2120 } | 2120 } |
| 2121 | 2121 |
| 2122 | 2122 |
| 2123 void HDeoptimize::PrintDataTo(StringStream* stream) { | |
| 2124 if (OperandCount() == 0) return; | |
| 2125 OperandAt(0)->PrintNameTo(stream); | |
| 2126 for (int i = 1; i < OperandCount(); ++i) { | |
| 2127 stream->Add(" "); | |
| 2128 OperandAt(i)->PrintNameTo(stream); | |
| 2129 } | |
| 2130 } | |
| 2131 | |
| 2132 | |
| 2133 void HEnterInlined::RegisterReturnTarget(HBasicBlock* return_target, | 2123 void HEnterInlined::RegisterReturnTarget(HBasicBlock* return_target, |
| 2134 Zone* zone) { | 2124 Zone* zone) { |
| 2135 ASSERT(return_target->IsInlineReturnTarget()); | 2125 ASSERT(return_target->IsInlineReturnTarget()); |
| 2136 return_targets_.Add(return_target, zone); | 2126 return_targets_.Add(return_target, zone); |
| 2137 } | 2127 } |
| 2138 | 2128 |
| 2139 | 2129 |
| 2140 void HEnterInlined::PrintDataTo(StringStream* stream) { | 2130 void HEnterInlined::PrintDataTo(StringStream* stream) { |
| 2141 SmartArrayPointer<char> name = function()->debug_name()->ToCString(); | 2131 SmartArrayPointer<char> name = function()->debug_name()->ToCString(); |
| 2142 stream->Add("%s, id=%d", *name, function()->id().ToInt()); | 2132 stream->Add("%s, id=%d", *name, function()->id().ToInt()); |
| (...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3870 case kBackingStore: | 3860 case kBackingStore: |
| 3871 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3861 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
| 3872 stream->Add("[backing-store]"); | 3862 stream->Add("[backing-store]"); |
| 3873 break; | 3863 break; |
| 3874 } | 3864 } |
| 3875 | 3865 |
| 3876 stream->Add("@%d", offset()); | 3866 stream->Add("@%d", offset()); |
| 3877 } | 3867 } |
| 3878 | 3868 |
| 3879 } } // namespace v8::internal | 3869 } } // namespace v8::internal |
| OLD | NEW |