Revision: 15159
Author:   [email protected]
Date:     Fri Jun 14 07:23:05 2013
Log:      When HBranch sees Smi, it sees Smi.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/17064006
http://code.google.com/p/v8/source/detail?r=15159

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Fri Jun 14 07:14:07 2013 +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Fri Jun 14 07:23:05 2013
@@ -1286,7 +1286,7 @@
   } else if (expected_input_types_.Contains(ToBooleanStub::HEAP_NUMBER)) {
     return Representation::Double();
   } else if (expected_input_types_.Contains(ToBooleanStub::SMI)) {
-    return Representation::Integer32();
+    return Representation::Smi();
   } else {
     return Representation::None();
   }

--
--
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