Fix r17253.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Oct 2013 07:40:31 +0000 (07:40 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Oct 2013 07:40:31 +0000 (07:40 +0000)
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

src/api.cc

index a768824..0bb374f 100644 (file)
@@ -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);
 }