From: marja@chromium.org Date: Thu, 24 Oct 2013 07:40:31 +0000 (+0000) Subject: Fix r17253. X-Git-Tag: upstream/4.7.83~11974 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f81a550963dfdaacf4c9571b22b1d334d837222;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/api.cc b/src/api.cc index a768824..0bb374f 100644 --- a/src/api.cc +++ b/src/api.cc @@ -6382,7 +6382,6 @@ void Isolate::SetObjectGroupId(internal::Object** object, UniqueId id) { internal_isolate->global_handles()->SetObjectGroupId( v8::internal::Handle(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(object).location()); - internal_isolate->global_handles()->SetReferenceFromGroup(id, object); }