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/hydrogen-instructions.h" | 5 #include "src/hydrogen-instructions.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/double.h" | 8 #include "src/double.h" |
9 #include "src/elements.h" | 9 #include "src/elements.h" |
10 #include "src/factory.h" | 10 #include "src/factory.h" |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 } | 1092 } |
1093 | 1093 |
1094 | 1094 |
1095 std::ostream& HCallNewArray::PrintDataTo(std::ostream& os) const { // NOLINT | 1095 std::ostream& HCallNewArray::PrintDataTo(std::ostream& os) const { // NOLINT |
1096 os << ElementsKindToString(elements_kind()) << " "; | 1096 os << ElementsKindToString(elements_kind()) << " "; |
1097 return HBinaryCall::PrintDataTo(os); | 1097 return HBinaryCall::PrintDataTo(os); |
1098 } | 1098 } |
1099 | 1099 |
1100 | 1100 |
1101 std::ostream& HCallRuntime::PrintDataTo(std::ostream& os) const { // NOLINT | 1101 std::ostream& HCallRuntime::PrintDataTo(std::ostream& os) const { // NOLINT |
1102 os << name()->ToCString().get() << " "; | 1102 os << function()->name << " "; |
1103 if (save_doubles() == kSaveFPRegs) os << "[save doubles] "; | 1103 if (save_doubles() == kSaveFPRegs) os << "[save doubles] "; |
1104 return os << "#" << argument_count(); | 1104 return os << "#" << argument_count(); |
1105 } | 1105 } |
1106 | 1106 |
1107 | 1107 |
1108 std::ostream& HClassOfTestAndBranch::PrintDataTo( | 1108 std::ostream& HClassOfTestAndBranch::PrintDataTo( |
1109 std::ostream& os) const { // NOLINT | 1109 std::ostream& os) const { // NOLINT |
1110 return os << "class_of_test(" << NameOf(value()) << ", \"" | 1110 return os << "class_of_test(" << NameOf(value()) << ", \"" |
1111 << class_name()->ToCString().get() << "\")"; | 1111 << class_name()->ToCString().get() << "\")"; |
1112 } | 1112 } |
(...skipping 3631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4744 case HObjectAccess::kExternalMemory: | 4744 case HObjectAccess::kExternalMemory: |
4745 os << "[external-memory]"; | 4745 os << "[external-memory]"; |
4746 break; | 4746 break; |
4747 } | 4747 } |
4748 | 4748 |
4749 return os << "@" << access.offset(); | 4749 return os << "@" << access.offset(); |
4750 } | 4750 } |
4751 | 4751 |
4752 } // namespace internal | 4752 } // namespace internal |
4753 } // namespace v8 | 4753 } // namespace v8 |
OLD | NEW |