| Index: src/compiler/code-generator-impl.h
|
| diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h
|
| index f0762e9bbec2e0657c6e8372e643c0eed4db47d0..83cbd22604a9fb921f6d58746f1d32128c4a0334 100644
|
| --- a/src/compiler/code-generator-impl.h
|
| +++ b/src/compiler/code-generator-impl.h
|
| @@ -37,6 +37,8 @@ class InstructionOperandConverter {
|
|
|
| double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); }
|
|
|
| + float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); }
|
| +
|
| int32_t InputInt32(size_t index) {
|
| return ToConstant(instr_->InputAt(index)).ToInt32();
|
| }
|
| @@ -112,6 +114,8 @@ class InstructionOperandConverter {
|
|
|
| double ToDouble(InstructionOperand* op) { return ToConstant(op).ToFloat64(); }
|
|
|
| + float ToFloat32(InstructionOperand* op) { return ToConstant(op).ToFloat32(); }
|
| +
|
| ExternalReference ToExternalReference(InstructionOperand* op) {
|
| return ToConstant(op).ToExternalReference();
|
| }
|
|
|