Reviewers: oliv, Yang,

Message:
I just remember that I introduced the redundant code on x64 before. Thanks
olivf.



Description:
Unnecessay to check SSE2 on x64

BUG=

Please review this at https://codereview.chromium.org/23619033/

SVN Base: git://github.com/v8/v8.git@master

Affected files (+0, -7 lines):
  M src/x64/stub-cache-x64.cc


Index: src/x64/stub-cache-x64.cc
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
index 9b8a04acb26f44cef9d9a489e2bc5c98dd014a9b..b6f6c5c31c79147bfdf48e36b555c516a27917ec 100644
--- a/src/x64/stub-cache-x64.cc
+++ b/src/x64/stub-cache-x64.cc
@@ -2245,13 +2245,6 @@ Handle<Code> CallStubCompiler::CompileMathFloorCall(
   //  -- ...
   //  -- rsp[(argc + 1) * 4] : receiver
   // -----------------------------------
-
-  if (!CpuFeatures::IsSupported(SSE2)) {
-    return Handle<Code>::null();
-  }
-
-  CpuFeatureScope use_sse2(masm(), SSE2);
-
   const int argc = arguments().immediate();

   // If the object is not a JSObject or we got an unexpected number of


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to