Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index 271d4a2fe5886681dc398e67cd948ab49f51363a..82a8208898f4084afdb0d731fdd14f881aac2aa3 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -256,13 +256,8 @@ protected: |
Context.insert(InstFakeDef::create(Func, Edx)); |
Context.insert(InstFakeDef::create(Func, Eax)); |
} |
- void _cvt(Variable *Dest, Operand *Src0) { |
- const bool Trunc = false; |
- Context.insert(InstX8632Cvt::create(Func, Dest, Src0, Trunc)); |
- } |
- void _cvtt(Variable *Dest, Operand *Src0) { |
- const bool Trunc = true; |
- Context.insert(InstX8632Cvt::create(Func, Dest, Src0, Trunc)); |
+ void _cvt(Variable *Dest, Operand *Src0, InstX8632Cvt::CvtVariant Variant) { |
+ Context.insert(InstX8632Cvt::create(Func, Dest, Src0, Variant)); |
} |
void _div(Variable *Dest, Operand *Src0, Operand *Src1) { |
Context.insert(InstX8632Div::create(Func, Dest, Src0, Src1)); |