Index: src/compiler/instruction-scheduler.h |
diff --git a/src/compiler/instruction-scheduler.h b/src/compiler/instruction-scheduler.h |
index 23950f72bb77c7fcc29888fb9ca883b5b061d797..4f5b0f789fd2b0cda4bb751498c1c218a85c200f 100644 |
--- a/src/compiler/instruction-scheduler.h |
+++ b/src/compiler/instruction-scheduler.h |
@@ -177,12 +177,12 @@ class InstructionScheduler final : public ZoneObject { |
// Identify nops used as a definition point for live-in registers at |
// function entry. |
bool IsFixedRegisterParameter(const Instruction* instr) const { |
- return (instr->arch_opcode() == kArchNop) && |
- (instr->OutputCount() == 1) && |
- (instr->OutputAt(0)->IsUnallocated()) && |
- (UnallocatedOperand::cast(instr->OutputAt(0))->HasFixedRegisterPolicy() || |
- UnallocatedOperand::cast( |
- instr->OutputAt(0))->HasFixedDoubleRegisterPolicy()); |
+ return (instr->arch_opcode() == kArchNop) && (instr->OutputCount() == 1) && |
+ (instr->OutputAt(0)->IsUnallocated()) && |
+ (UnallocatedOperand::cast(instr->OutputAt(0)) |
+ ->HasFixedRegisterPolicy() || |
+ UnallocatedOperand::cast(instr->OutputAt(0)) |
+ ->HasFixedFPRegisterPolicy()); |
} |
void ComputeTotalLatencies(); |