Reviewers: rossberg,

Description:
Version 4.5.103.11 (cherry-pick)

Merged 18b14d0a9665ddc3191add2dec7dc5ccf373b6fd

Revert preallocating of descriptors since right now getters and setters cause
copying of descriptor arrays

[email protected]
BUG=chromium:512119

Please review this at https://codereview.chromium.org/1251933002/

Base URL: https://chromium.googlesource.com/v8/[email protected]

Affected files (+1, -10 lines):
  M include/v8-version.h
  M src/api-natives.cc


Index: include/v8-version.h
diff --git a/include/v8-version.h b/include/v8-version.h
index 128924de2d6d435194ded37be7244d829bfe0685..ec30c34d2a70635df16c0cf9de83dafb89c4e0e6 100644
--- a/include/v8-version.h
+++ b/include/v8-version.h
@@ -11,7 +11,7 @@
 #define V8_MAJOR_VERSION 4
 #define V8_MINOR_VERSION 5
 #define V8_BUILD_NUMBER 103
-#define V8_PATCH_LEVEL 10
+#define V8_PATCH_LEVEL 11

 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
Index: src/api-natives.cc
diff --git a/src/api-natives.cc b/src/api-natives.cc
index 9e4ff99ef241c450d61043b144ff372e8e2f0120..5993859710a5e1d4063b6900c5af6d1168e82a97 100644
--- a/src/api-natives.cc
+++ b/src/api-natives.cc
@@ -151,15 +151,6 @@ MaybeHandle<JSObject> ConfigureInstance(Isolate* isolate, Handle<JSObject> obj,
     PropertyAttributes attributes = details.attributes();
     PropertyKind kind = details.kind();

-    if (obj->map()->owns_descriptors() &&
-        obj->map()->instance_descriptors()->length() != 0 &&
- obj->map()->instance_descriptors()->NumberOfSlackDescriptors() == 0 &&
-        TransitionArray::SearchTransition(obj->map(), kind, *name,
-                                          attributes) == NULL) {
-      Map::EnsureDescriptorSlack(handle(obj->map()),
-                                 data->number_of_properties() - c);
-    }
-
     if (kind == kData) {
       auto prop_data = handle(properties.get(i++), isolate);



--
--
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.

Reply via email to