Commit 7068a4ea authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

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
parent 5f5f8e67
...@@ -629,12 +629,13 @@ class RepresentationSelector { ...@@ -629,12 +629,13 @@ class RepresentationSelector {
case IrOpcode::kChangeInt32ToInt64: case IrOpcode::kChangeInt32ToInt64:
return VisitUnop(node, kTypeInt32 | kRepWord32, return VisitUnop(node, kTypeInt32 | kRepWord32,
kTypeInt64 | kRepWord64); kTypeInt32 | kRepWord64);
case IrOpcode::kChangeUint32ToUint64: case IrOpcode::kChangeUint32ToUint64:
return VisitUnop(node, kTypeUint32 | kRepWord32, return VisitUnop(node, kTypeUint32 | kRepWord32,
kTypeUint64 | kRepWord64); kTypeUint32 | kRepWord64);
case IrOpcode::kTruncateInt64ToInt32: case IrOpcode::kTruncateInt64ToInt32:
return VisitUnop(node, kTypeInt64 | kRepWord64, // TODO(titzer): Is kTypeInt32 correct here?
return VisitUnop(node, kTypeInt32 | kRepWord64,
kTypeInt32 | kRepWord32); kTypeInt32 | kRepWord32);
case IrOpcode::kChangeInt32ToFloat64: case IrOpcode::kChangeInt32ToFloat64:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment