Make GCMole happy
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Jun 2013 06:37:30 +0000 (06:37 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Jun 2013 06:37:30 +0000 (06:37 +0000)
TBR=yangguo@google.com

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15022 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/objects.cc

index 4fecb0bd24fd0a23db36ece3c3595ffb74dd5012..4ee7734a2f78c91cfce410268e5954ab35fd614d 100644 (file)
@@ -11092,8 +11092,9 @@ void Map::ZapPrototypeTransitions() {
 
 void Map::AddDependentCompilationInfo(DependentCode::DependencyGroup group,
                                       CompilationInfo* info) {
-  Handle<DependentCode> codes = DependentCode::Insert(
-      Handle<DependentCode>(dependent_code()), group, info->object_wrapper());
+  Handle<DependentCode> dep(dependent_code());
+  Handle<DependentCode> codes =
+      DependentCode::Insert(dep, group, info->object_wrapper());
   if (*codes != dependent_code()) set_dependent_code(*codes);
   info->dependent_maps(group)->Add(Handle<Map>(this), info->zone());
 }