OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/double.h" | 7 #include "src/double.h" |
8 #include "src/factory.h" | 8 #include "src/factory.h" |
9 #include "src/hydrogen-infer-representation.h" | 9 #include "src/hydrogen-infer-representation.h" |
10 #include "src/property-details-inl.h" | 10 #include "src/property-details-inl.h" |
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 base_index()->PrintNameTo(stream); | 1091 base_index()->PrintNameTo(stream); |
1092 } | 1092 } |
1093 | 1093 |
1094 | 1094 |
1095 void HCallWithDescriptor::PrintDataTo(StringStream* stream) { | 1095 void HCallWithDescriptor::PrintDataTo(StringStream* stream) { |
1096 for (int i = 0; i < OperandCount(); i++) { | 1096 for (int i = 0; i < OperandCount(); i++) { |
1097 OperandAt(i)->PrintNameTo(stream); | 1097 OperandAt(i)->PrintNameTo(stream); |
1098 stream->Add(" "); | 1098 stream->Add(" "); |
1099 } | 1099 } |
1100 stream->Add("#%d", argument_count()); | 1100 stream->Add("#%d", argument_count()); |
| 1101 if (is_stub_) stream->Add("(stub call)"); |
1101 } | 1102 } |
1102 | 1103 |
1103 | 1104 |
1104 void HCallNewArray::PrintDataTo(StringStream* stream) { | 1105 void HCallNewArray::PrintDataTo(StringStream* stream) { |
1105 stream->Add(ElementsKindToString(elements_kind())); | 1106 stream->Add(ElementsKindToString(elements_kind())); |
1106 stream->Add(" "); | 1107 stream->Add(" "); |
1107 HBinaryCall::PrintDataTo(stream); | 1108 HBinaryCall::PrintDataTo(stream); |
1108 } | 1109 } |
1109 | 1110 |
1110 | 1111 |
(...skipping 3760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4871 break; | 4872 break; |
4872 case kExternalMemory: | 4873 case kExternalMemory: |
4873 stream->Add("[external-memory]"); | 4874 stream->Add("[external-memory]"); |
4874 break; | 4875 break; |
4875 } | 4876 } |
4876 | 4877 |
4877 stream->Add("@%d", offset()); | 4878 stream->Add("@%d", offset()); |
4878 } | 4879 } |
4879 | 4880 |
4880 } } // namespace v8::internal | 4881 } } // namespace v8::internal |
OLD | NEW |