Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 8f4c4ca7373a817753168bcba05f316ba8b6daef..770023b32d3f467c88d76f059a41e80123a1b526 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -966,8 +966,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayInitialize) { |
ExternalArrayType array_type = kExternalInt8Array; // Bogus initialization. |
size_t element_size = 1; // Bogus initialization. |
- ElementsKind external_elements_kind = EXTERNAL_INT8_ELEMENTS; |
- ElementsKind fixed_elements_kind = INT8_ELEMENTS; |
+ ElementsKind external_elements_kind = EXTERNAL_INT8_ELEMENTS; // Bogus |
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. |
Runtime::ArrayIdToTypeAndSize(arrayId, |
&array_type, |
&external_elements_kind, |
@@ -1044,8 +1044,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayInitializeFromArrayLike) { |
ExternalArrayType array_type = kExternalInt8Array; // Bogus initialization. |
size_t element_size = 1; // Bogus initialization. |
- ElementsKind external_elements_kind; |
- ElementsKind fixed_elements_kind; |
+ ElementsKind external_elements_kind = EXTERNAL_INT8_ELEMENTS; // Bogus |
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus initialization. |
Runtime::ArrayIdToTypeAndSize(arrayId, |
&array_type, |
&external_elements_kind, |