Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 2704) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -6752,11 +6752,10 @@ |
// Reserve space for converted numbers. |
__ sub(Operand(esp), Immediate(2 * kPointerSize)); |
- bool use_sse3 = CpuFeatures::IsSupported(CpuFeatures::SSE3); |
- if (use_sse3) { |
+ if (use_sse3_) { |
// Truncate the operands to 32-bit integers and check for |
// exceptions in doing so. |
- CpuFeatures::Scope scope(CpuFeatures::SSE3); |
+ CpuFeatures::Scope scope(CpuFeatures::SSE3); |
__ fisttp_s(Operand(esp, 0 * kPointerSize)); |
__ fisttp_s(Operand(esp, 1 * kPointerSize)); |
__ fnstsw_ax(); |
@@ -6841,7 +6840,7 @@ |
// the runtime system. |
__ bind(&operand_conversion_failure); |
__ add(Operand(esp), Immediate(2 * kPointerSize)); |
- if (use_sse3) { |
+ if (use_sse3_) { |
// If we've used the SSE3 instructions for truncating the |
// floating point values to integers and it failed, we have a |
// pending #IA exception. Clear it. |