| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index e32a09c7202a1c0396602156fef9abe82c744173..c576c0ed07d08d1bb83f108c8a7e1055ac5827ee 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -3200,7 +3200,8 @@ class HLoadKeyedSpecializedArrayElement: public HBinaryOperation {
|
| ExternalArrayType array_type)
|
| : HBinaryOperation(external_elements, key),
|
| array_type_(array_type) {
|
| - if (array_type == kExternalFloatArray) {
|
| + if (array_type == kExternalFloatArray ||
|
| + array_type == kExternalDoubleArray) {
|
| set_representation(Representation::Double());
|
| } else {
|
| set_representation(Representation::Integer32());
|
| @@ -3394,7 +3395,8 @@ class HStoreKeyedSpecializedArrayElement: public HTemplateInstruction<3> {
|
| if (index == 0) {
|
| return Representation::External();
|
| } else {
|
| - if (index == 2 && array_type() == kExternalFloatArray) {
|
| + if (index == 2 && (array_type() == kExternalFloatArray ||
|
| + array_type() == kExternalDoubleArray)) {
|
| return Representation::Double();
|
| } else {
|
| return Representation::Integer32();
|
|
|