Reviewers: Mads Ager,

Description:
Fix conditional on sse2 support in CompileMathFloor

We should test that there is NO sse2 support and return undefined in
that case.


Please review this at http://codereview.chromium.org/6759021/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ia32/stub-cache-ia32.cc


Index: src/ia32/stub-cache-ia32.cc
===================================================================
--- src/ia32/stub-cache-ia32.cc (revision 7419)
+++ src/ia32/stub-cache-ia32.cc (working copy)
@@ -1923,7 +1923,7 @@
   //  -- esp[(argc + 1) * 4] : receiver
   // -----------------------------------

-  if (isolate()->cpu_features()->IsSupported(SSE2)) {
+  if (!isolate()->cpu_features()->IsSupported(SSE2)) {
     return isolate()->heap()->undefined_value();
   }



--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to