Commit 3f81a550 authored by marja@chromium.org's avatar marja@chromium.org

Fix r17253.

There's no reason why the setObjectGroupIde / setReferenceFromGroups funcs should've been called twice.

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/39573002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17358 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 82d28ad2
......@@ -6382,7 +6382,6 @@ void Isolate::SetObjectGroupId(internal::Object** object, UniqueId id) {
internal_isolate->global_handles()->SetObjectGroupId(
v8::internal::Handle<v8::internal::Object>(object).location(),
id);
internal_isolate->global_handles()->SetObjectGroupId(object, id);
}
......@@ -6391,7 +6390,6 @@ void Isolate::SetReferenceFromGroup(UniqueId id, internal::Object** object) {
internal_isolate->global_handles()->SetReferenceFromGroup(
id,
v8::internal::Handle<v8::internal::Object>(object).location());
internal_isolate->global_handles()->SetReferenceFromGroup(id, object);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment