Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: src/objects.cc

Issue 483603005: Fix invalid ASSERT on 3.27 branch (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.27
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698