Smi arrays are only guaranteed to be initialized in non-holey case
BUG= R=ishell@chromium.org Review URL: https://codereview.chromium.org/413393004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22617 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
60df9dabad
commit
3586c074d4
@ -6981,10 +6981,12 @@ class HStoreKeyed V8_FINAL
|
||||
return Representation::Double();
|
||||
}
|
||||
|
||||
if (kind == FAST_SMI_ELEMENTS && SmiValuesAre32Bits() &&
|
||||
mode == STORE_TO_INITIALIZED_ENTRY) {
|
||||
return Representation::Integer32();
|
||||
}
|
||||
|
||||
if (IsFastSmiElementsKind(kind)) {
|
||||
if (SmiValuesAre32Bits() && mode == STORE_TO_INITIALIZED_ENTRY) {
|
||||
return Representation::Integer32();
|
||||
}
|
||||
return Representation::Smi();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user