| Index: src/compiler/instruction.h
|
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
|
| index 92cb84268350bbcb985659838e3f0124ec7f67f2..15adaaac7c65e1d44b0b48ea4d829a677c566175 100644
|
| --- a/src/compiler/instruction.h
|
| +++ b/src/compiler/instruction.h
|
| @@ -1323,9 +1323,17 @@ class InstructionSequence final : public ZoneObject {
|
| return GetRepresentation(virtual_register) ==
|
| MachineRepresentation::kTagged;
|
| }
|
| - bool IsFloat(int virtual_register) const {
|
| + bool IsFP(int virtual_register) const {
|
| return IsFloatingPoint(GetRepresentation(virtual_register));
|
| }
|
| + bool IsFloat(int virtual_register) const {
|
| + return GetRepresentation(virtual_register) ==
|
| + MachineRepresentation::kFloat32;
|
| + }
|
| + bool IsDouble(int virtual_register) const {
|
| + return GetRepresentation(virtual_register) ==
|
| + MachineRepresentation::kFloat64;
|
| + }
|
|
|
| Instruction* GetBlockStart(RpoNumber rpo) const;
|
|
|
|
|