Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 199a80ae5b8119ac9634674fbe21d691129c225e..22454f127a6ef3ab23bbc906341ff35b765cdb7b 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1633,9 +1633,8 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
LOperand* value = UseRegister(instr->value()); |
bool needs_check = !instr->value()->type().IsSmi(); |
if (needs_check) { |
- CpuFeatures* cpu_features = Isolate::Current()->cpu_features(); |
LOperand* xmm_temp = |
- (instr->CanTruncateToInt32() && cpu_features->IsSupported(SSE3)) |
+ (instr->CanTruncateToInt32() && CpuFeatures::IsSupported(SSE3)) |
? NULL |
: FixedTemp(xmm1); |
LTaggedToI* res = new LTaggedToI(value, xmm_temp); |
@@ -1656,7 +1655,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
} else { |
ASSERT(to.IsInteger32()); |
bool needs_temp = instr->CanTruncateToInt32() && |
- !Isolate::Current()->cpu_features()->IsSupported(SSE3); |
+ !CpuFeatures::IsSupported(SSE3); |
LOperand* value = needs_temp ? |
UseTempRegister(instr->value()) : UseRegister(instr->value()); |
LOperand* temp = needs_temp ? TempRegister() : NULL; |