Fix types for SimplifiedLowering.

TBR=jarin@chromium.org

Review URL: https://codereview.chromium.org/484603003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23186 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2014-08-19 09:17:00 +00:00
parent 5f5f8e6724
commit 7068a4ea6b

View File

@ -629,12 +629,13 @@ class RepresentationSelector {
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: