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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 stream->Add("#%d", argument_count()); | 975 stream->Add("#%d", argument_count()); |
976 } | 976 } |
977 | 977 |
978 | 978 |
979 void HCallNamed::PrintDataTo(StringStream* stream) { | 979 void HCallNamed::PrintDataTo(StringStream* stream) { |
980 stream->Add("%o ", *name()); | 980 stream->Add("%o ", *name()); |
981 HUnaryCall::PrintDataTo(stream); | 981 HUnaryCall::PrintDataTo(stream); |
982 } | 982 } |
983 | 983 |
984 | 984 |
985 void HCallGlobal::PrintDataTo(StringStream* stream) { | |
986 stream->Add("%o ", *name()); | |
987 HUnaryCall::PrintDataTo(stream); | |
988 } | |
989 | |
990 | |
991 void HCallKnownGlobal::PrintDataTo(StringStream* stream) { | 985 void HCallKnownGlobal::PrintDataTo(StringStream* stream) { |
992 stream->Add("%o ", target()->shared()->DebugName()); | 986 stream->Add("%o ", target()->shared()->DebugName()); |
993 stream->Add("#%d", argument_count()); | 987 stream->Add("#%d", argument_count()); |
994 } | 988 } |
995 | 989 |
996 | 990 |
997 void HCallNewArray::PrintDataTo(StringStream* stream) { | 991 void HCallNewArray::PrintDataTo(StringStream* stream) { |
998 stream->Add(ElementsKindToString(elements_kind())); | 992 stream->Add(ElementsKindToString(elements_kind())); |
999 stream->Add(" "); | 993 stream->Add(" "); |
1000 HBinaryCall::PrintDataTo(stream); | 994 HBinaryCall::PrintDataTo(stream); |
(...skipping 3436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4437 break; | 4431 break; |
4438 case kExternalMemory: | 4432 case kExternalMemory: |
4439 stream->Add("[external-memory]"); | 4433 stream->Add("[external-memory]"); |
4440 break; | 4434 break; |
4441 } | 4435 } |
4442 | 4436 |
4443 stream->Add("@%d", offset()); | 4437 stream->Add("@%d", offset()); |
4444 } | 4438 } |
4445 | 4439 |
4446 } } // namespace v8::internal | 4440 } } // namespace v8::internal |
OLD | NEW |