Revision: 23186
Author:   [email protected]
Date:     Tue Aug 19 09:17:00 2014 UTC
Log:      Fix types for SimplifiedLowering.

[email protected]

Review URL: https://codereview.chromium.org/484603003
http://code.google.com/p/v8/source/detail?r=23186

Modified:
 /branches/bleeding_edge/src/compiler/simplified-lowering.cc

=======================================
--- /branches/bleeding_edge/src/compiler/simplified-lowering.cc Tue Aug 19 08:48:41 2014 UTC +++ /branches/bleeding_edge/src/compiler/simplified-lowering.cc Tue Aug 19 09:17:00 2014 UTC
@@ -629,12 +629,13 @@

       case IrOpcode::kChangeInt32ToInt64:
         return VisitUnop(node, kTypeInt32 | kRepWord32,
-                         kTypeInt64 | kRepWord64);
+                         kTypeInt32 | kRepWord64);
       case IrOpcode::kChangeUint32ToUint64:
         return VisitUnop(node, kTypeUint32 | kRepWord32,
-                         kTypeUint64 | kRepWord64);
+                         kTypeUint32 | kRepWord64);
       case IrOpcode::kTruncateInt64ToInt32:
-        return VisitUnop(node, kTypeInt64 | kRepWord64,
+        // TODO(titzer): Is kTypeInt32 correct here?
+        return VisitUnop(node, kTypeInt32 | kRepWord64,
                          kTypeInt32 | kRepWord32);

       case IrOpcode::kChangeInt32ToFloat64:

--
--
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/d/optout.

Reply via email to