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:
parent
773c08c58f
commit
7cebf3f684
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user