Revision: 20315
Author: [email protected]
Date: Thu Mar 27 17:40:52 2014 UTC
Log: Add Bogus initialization for external_elements_kind and
fixed_elements_kind
[email protected]
Review URL: https://codereview.chromium.org/212553008
Patch from Haitao Feng <[email protected]>.
http://code.google.com/p/v8/source/detail?r=20315
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Thu Mar 27 16:30:03 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc Thu Mar 27 17:40:52 2014 UTC
@@ -966,8 +966,9 @@
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 initialization.
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus
initialization.
Runtime::ArrayIdToTypeAndSize(arrayId,
&array_type,
&external_elements_kind,
@@ -1044,8 +1045,9 @@
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 intialization.
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus
initialization.
Runtime::ArrayIdToTypeAndSize(arrayId,
&array_type,
&external_elements_kind,
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.