Reviewers: Toon Verwaest,
Description:
Fix invalid ASSERT on 3.27 branch
Please review this at https://codereview.chromium.org/483603005/
SVN Base: https://v8.googlecode.com/svn/branches/3.27
Affected files (+3, -3 lines):
M src/objects.cc
M src/version.cc
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index
5b5d79174bd9ff455726acbda631868de655e6fe..92bce62d44c44ab1a9f941f9d1e7c03a697a870e
100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -6784,8 +6784,8 @@ bool JSObject::DefineFastAccessor(Handle<JSObject>
object,
ASSERT(target->NumberOfOwnDescriptors() ==
object->map()->NumberOfOwnDescriptors());
// This works since descriptors are sorted in order of addition.
- ASSERT(object->map()->instance_descriptors()->
- GetKey(descriptor_number) == *name);
+ ASSERT(Name::Equals(handle(object->map()->instance_descriptors()->
+ GetKey(descriptor_number)), name));
return TryAccessorTransition(object, target, descriptor_number,
component, accessor, attributes);
}
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index
1d8adfec9257214da6d97e4b84e1e52b560164c2..d1ebf16af16c2d2dad09355d3a6793168520d330
100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 27
#define BUILD_NUMBER 34
-#define PATCH_LEVEL 12
+#define PATCH_LEVEL 13
// 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.