| Index: src/compiler/instruction-selector-unittest.h
|
| diff --git a/src/compiler/instruction-selector-unittest.h b/src/compiler/instruction-selector-unittest.h
|
| index 4e12dabbe1898d6a1a54911f86bae5d0a47b69c6..3e7f63aa60ae8ef6beb6d4a9e14951bea9b13364 100644
|
| --- a/src/compiler/instruction-selector-unittest.h
|
| +++ b/src/compiler/instruction-selector-unittest.h
|
| @@ -143,6 +143,10 @@ class InstructionSelectorTest : public TestWithContext, public TestWithZone {
|
| return references_.find(virtual_register) != references_.end();
|
| }
|
|
|
| + float ToFloat32(const InstructionOperand* operand) const {
|
| + return ToConstant(operand).ToFloat32();
|
| + }
|
| +
|
| int32_t ToInt32(const InstructionOperand* operand) const {
|
| return ToConstant(operand).ToInt32();
|
| }
|
|
|