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 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 HUnaryCall::PrintDataTo(stream); | 1218 HUnaryCall::PrintDataTo(stream); |
1219 } | 1219 } |
1220 | 1220 |
1221 | 1221 |
1222 void HCallKnownGlobal::PrintDataTo(StringStream* stream) { | 1222 void HCallKnownGlobal::PrintDataTo(StringStream* stream) { |
1223 stream->Add("%o ", target()->shared()->DebugName()); | 1223 stream->Add("%o ", target()->shared()->DebugName()); |
1224 stream->Add("#%d", argument_count()); | 1224 stream->Add("#%d", argument_count()); |
1225 } | 1225 } |
1226 | 1226 |
1227 | 1227 |
| 1228 void HCallNewArray::PrintDataTo(StringStream* stream) { |
| 1229 stream->Add(ElementsKindToString(elements_kind())); |
| 1230 stream->Add(" "); |
| 1231 HBinaryCall::PrintDataTo(stream); |
| 1232 } |
| 1233 |
| 1234 |
1228 void HCallRuntime::PrintDataTo(StringStream* stream) { | 1235 void HCallRuntime::PrintDataTo(StringStream* stream) { |
1229 stream->Add("%o ", *name()); | 1236 stream->Add("%o ", *name()); |
1230 stream->Add("#%d", argument_count()); | 1237 stream->Add("#%d", argument_count()); |
1231 } | 1238 } |
1232 | 1239 |
1233 | 1240 |
1234 void HClassOfTestAndBranch::PrintDataTo(StringStream* stream) { | 1241 void HClassOfTestAndBranch::PrintDataTo(StringStream* stream) { |
1235 stream->Add("class_of_test("); | 1242 stream->Add("class_of_test("); |
1236 value()->PrintNameTo(stream); | 1243 value()->PrintNameTo(stream); |
1237 stream->Add(", \"%o\")", *class_name()); | 1244 stream->Add(", \"%o\")", *class_name()); |
(...skipping 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3878 case kBackingStore: | 3885 case kBackingStore: |
3879 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3886 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
3880 stream->Add("[backing-store]"); | 3887 stream->Add("[backing-store]"); |
3881 break; | 3888 break; |
3882 } | 3889 } |
3883 | 3890 |
3884 stream->Add("@%d", offset()); | 3891 stream->Add("@%d", offset()); |
3885 } | 3892 } |
3886 | 3893 |
3887 } } // namespace v8::internal | 3894 } } // namespace v8::internal |
OLD | NEW |