| 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 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 | 1739 |
| 1740 | 1740 |
| 1741 std::ostream& HCheckInstanceType::PrintDataTo( | 1741 std::ostream& HCheckInstanceType::PrintDataTo( |
| 1742 std::ostream& os) const { // NOLINT | 1742 std::ostream& os) const { // NOLINT |
| 1743 os << GetCheckName() << " "; | 1743 os << GetCheckName() << " "; |
| 1744 return HUnaryOperation::PrintDataTo(os); | 1744 return HUnaryOperation::PrintDataTo(os); |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 | 1747 |
| 1748 std::ostream& HCallStub::PrintDataTo(std::ostream& os) const { // NOLINT | 1748 std::ostream& HCallStub::PrintDataTo(std::ostream& os) const { // NOLINT |
| 1749 os << CodeStub::MajorName(major_key_, false) << " "; | 1749 os << CodeStub::MajorName(major_key_) << " "; |
| 1750 return HUnaryCall::PrintDataTo(os); | 1750 return HUnaryCall::PrintDataTo(os); |
| 1751 } | 1751 } |
| 1752 | 1752 |
| 1753 | 1753 |
| 1754 std::ostream& HUnknownOSRValue::PrintDataTo(std::ostream& os) const { // NOLINT | 1754 std::ostream& HUnknownOSRValue::PrintDataTo(std::ostream& os) const { // NOLINT |
| 1755 const char* type = "expression"; | 1755 const char* type = "expression"; |
| 1756 if (environment_->is_local_index(index_)) type = "local"; | 1756 if (environment_->is_local_index(index_)) type = "local"; |
| 1757 if (environment_->is_special_index(index_)) type = "special"; | 1757 if (environment_->is_special_index(index_)) type = "special"; |
| 1758 if (environment_->is_parameter_index(index_)) type = "parameter"; | 1758 if (environment_->is_parameter_index(index_)) type = "parameter"; |
| 1759 return os << type << " @ " << index_; | 1759 return os << type << " @ " << index_; |
| (...skipping 2984 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 |