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
This commit is contained in:
verwaest@chromium.org 2013-06-14 14:23:05 +00:00
parent 773c08c58f
commit 7cebf3f684

View File

@ -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();
}