Tag smi-constants as smi.
R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/16010004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14834 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9974d932b2
commit
f98ee1a223
@ -2165,7 +2165,9 @@ HConstant::HConstant(double double_value,
|
||||
|
||||
void HConstant::Initialize(Representation r) {
|
||||
if (r.IsNone()) {
|
||||
if (has_int32_value_) {
|
||||
if (has_smi_value_) {
|
||||
r = Representation::Smi();
|
||||
} else if (has_int32_value_) {
|
||||
r = Representation::Integer32();
|
||||
} else if (has_double_value_) {
|
||||
r = Representation::Double();
|
||||
|
Loading…
Reference in New Issue
Block a user