Reviewers: Jakob,
Description:
Merged r20315 into 3.25 branch.
Add Bogus initialization for external_elements_kind and fixed_elements_kind
[email protected]
BUG=
Please review this at https://codereview.chromium.org/230023002/
SVN Base: https://v8.googlecode.com/svn/branches/3.25
Affected files (+7, -5 lines):
M src/runtime.cc
M src/version.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
5e206ebbaf7824ec86e07ce07ee092a0d5ae6fff..68c69985ba209ae6c8f3c34142f6c8f2b2b9c186
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -966,8 +966,9 @@ 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 initialization.
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus
initialization.
Runtime::ArrayIdToTypeAndSize(arrayId,
&array_type,
&external_elements_kind,
@@ -1044,8 +1045,9 @@ 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 intialization.
+ ElementsKind fixed_elements_kind = INT8_ELEMENTS; // Bogus
initialization.
Runtime::ArrayIdToTypeAndSize(arrayId,
&array_type,
&external_elements_kind,
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index
c9dd8564532718cb1187a1ec61856977335774ae..7d90e70d3c120b914a1d2de56724e6eafb4a0d76
100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 25
#define BUILD_NUMBER 28
-#define PATCH_LEVEL 7
+#define PATCH_LEVEL 8
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
--
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.