| Index: test/cctest/compiler/test-gap-resolver.cc
|
| diff --git a/test/cctest/compiler/test-gap-resolver.cc b/test/cctest/compiler/test-gap-resolver.cc
|
| index 7dade3df33a5d821a71f6a2acab2d57e37149f1b..a081ddb8fe9d79410692e8fb43413b693e1ec2a0 100644
|
| --- a/test/cctest/compiler/test-gap-resolver.cc
|
| +++ b/test/cctest/compiler/test-gap-resolver.cc
|
| @@ -73,13 +73,7 @@
|
| AllocatedOperand::AllocatedKind kind;
|
| int index;
|
| if (!is_constant) {
|
| - if (op.IsRegister()) {
|
| - index = AllocatedOperand::cast(op).GetRegister().code();
|
| - } else if (op.IsDoubleRegister()) {
|
| - index = AllocatedOperand::cast(op).GetDoubleRegister().code();
|
| - } else {
|
| - index = AllocatedOperand::cast(op).index();
|
| - }
|
| + index = AllocatedOperand::cast(op).index();
|
| kind = AllocatedOperand::cast(op).allocated_kind();
|
| } else {
|
| index = ConstantOperand::cast(op).virtual_register();
|
| @@ -96,9 +90,7 @@
|
| return ConstantOperand(key.index);
|
| }
|
| return AllocatedOperand(
|
| - key.kind,
|
| - v8::internal::compiler::InstructionSequence::DefaultRepresentation(),
|
| - key.index);
|
| + key.kind, InstructionSequence::DefaultRepresentation(), key.index);
|
| }
|
|
|
| friend std::ostream& operator<<(std::ostream& os,
|
|
|