Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: src/hydrogen-instructions.cc

Issue 1297203002: Add CompileInfo::GetDebugName() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@interpreter_immed_bytecodes
Patch Set: Fix test crash Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698