Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index 8f4c4ca7373a817753168bcba05f316ba8b6daef..20185dbc3b641d05516003d17c4d325b39f076f0 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -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; |
|
Dmitry Lomov (no reviews)
2014/03/27 11:18:49
Add "// Bogus initialization."
haitao.feng
2014/03/27 11:54:11
No more space in this line. Only "// Bogus" added.
|
| + ElementsKind fixed_elements_kind = INT8_ELEMENTS; |
| Runtime::ArrayIdToTypeAndSize(arrayId, |
| &array_type, |
| &external_elements_kind, |