Re-added missing return in HInferRepresentation::TryChange.

It mysteriously disappeared about 800 revisions ago... :-} Thanks to Jakob for spotting this!

Review URL: http://codereview.chromium.org/8574036

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 95ecaeb9
...@@ -1678,7 +1678,7 @@ Representation HInferRepresentation::TryChange(HValue* value) { ...@@ -1678,7 +1678,7 @@ Representation HInferRepresentation::TryChange(HValue* value) {
} }
// Prefer unboxing over boxing, the latter is more expensive. // Prefer unboxing over boxing, the latter is more expensive.
if (tagged_count > non_tagged_count) Representation::None(); if (tagged_count > non_tagged_count) return Representation::None();
// Prefer Integer32 over Double, if possible. // Prefer Integer32 over Double, if possible.
if (int32_count > 0 && value->IsConvertibleToInteger()) { if (int32_count > 0 && value->IsConvertibleToInteger()) {
......
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