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

Unified Diff: src/compiler/register-allocator-verifier.cc

Issue 904693002: [turbofan] Remove global InstructionOperand caches. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/v8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/register-allocator-verifier.cc
diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc
index 5afbf72db323b94d4d9582f9c1ed7ccaf2e8b819..45bf5ecc5f3476b047750d865bb1d27292a794b9 100644
--- a/src/compiler/register-allocator-verifier.cc
+++ b/src/compiler/register-allocator-verifier.cc
@@ -29,7 +29,7 @@ void RegisterAllocatorVerifier::VerifyInput(
const OperandConstraint& constraint) {
CHECK_NE(kSameAsFirst, constraint.type_);
if (constraint.type_ != kImmediate) {
- CHECK_NE(UnallocatedOperand::kInvalidVirtualRegister,
+ CHECK_NE(InstructionOperand::kInvalidVirtualRegister,
constraint.virtual_register_);
}
}
@@ -46,7 +46,7 @@ void RegisterAllocatorVerifier::VerifyTemp(
void RegisterAllocatorVerifier::VerifyOutput(
const OperandConstraint& constraint) {
CHECK_NE(kImmediate, constraint.type_);
- CHECK_NE(UnallocatedOperand::kInvalidVirtualRegister,
+ CHECK_NE(InstructionOperand::kInvalidVirtualRegister,
constraint.virtual_register_);
}
@@ -120,7 +120,7 @@ void RegisterAllocatorVerifier::VerifyAssignment() {
void RegisterAllocatorVerifier::BuildConstraint(const InstructionOperand* op,
OperandConstraint* constraint) {
constraint->value_ = kMinInt;
- constraint->virtual_register_ = UnallocatedOperand::kInvalidVirtualRegister;
+ constraint->virtual_register_ = InstructionOperand::kInvalidVirtualRegister;
if (op->IsConstant()) {
constraint->type_ = kConstant;
constraint->value_ = ConstantOperand::cast(op)->index();
@@ -217,7 +217,7 @@ namespace {
typedef BasicBlock::RpoNumber Rpo;
-static const int kInvalidVreg = UnallocatedOperand::kInvalidVirtualRegister;
+static const int kInvalidVreg = InstructionOperand::kInvalidVirtualRegister;
struct PhiData : public ZoneObject {
PhiData(Rpo definition_rpo, const PhiInstruction* phi, int first_pred_vreg,
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698