Commit 7cebf3f6 authored by verwaest@chromium.org's avatar verwaest@chromium.org

When HBranch sees Smi, it sees Smi.

R=mvstanton@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17064006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15159 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 773c08c5
......@@ -1286,7 +1286,7 @@ Representation HBranch::observed_input_representation(int index) {
} 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();
}
......
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