Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index 31fa645121aeb68b5425f5a2de73090e35d953c7..d116bf7db99c63d45f62a90d5bb574e421549c8e 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -96,7 +96,7 @@ class GenericBinaryOpStub: public CodeStub { |
if (static_operands_type_.IsSmi()) { |
mode_ = NO_OVERWRITE; |
} |
- use_sse3_ = Isolate::Current()->cpu_features()->IsSupported(SSE3); |
+ use_sse3_ = CpuFeatures::IsSupported(SSE3); |
ASSERT(OpBits::is_valid(Token::NUM_TOKENS)); |
} |
@@ -235,7 +235,7 @@ class TypeRecordingBinaryOpStub: public CodeStub { |
operands_type_(TRBinaryOpIC::UNINITIALIZED), |
result_type_(TRBinaryOpIC::UNINITIALIZED), |
name_(NULL) { |
- use_sse3_ = Isolate::Current()->cpu_features()->IsSupported(SSE3); |
+ use_sse3_ = CpuFeatures::IsSupported(SSE3); |
ASSERT(OpBits::is_valid(Token::NUM_TOKENS)); |
} |