Double unboxing tests fixed.
authorishell@chromium.org <ishell@chromium.org>
Wed, 12 Nov 2014 09:47:32 +0000 (09:47 +0000)
committerishell@chromium.org <ishell@chromium.org>
Wed, 12 Nov 2014 09:47:47 +0000 (09:47 +0000)
R=verwaest@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25286}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25286 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-unboxed-doubles.cc

index 2abf3c2926c434a5ff9c2a41ebc55c9dd026bf37..33597717e1446bdfad94c9eb4f65173fd0775d83 100644 (file)
@@ -509,7 +509,8 @@ static Handle<LayoutDescriptor> TestLayoutDescriptorAppendIfFastOrUseFull(
     DCHECK(map->layout_descriptor()->IsConsistentWithMap(*map));
   }
 
-  Handle<LayoutDescriptor> layout_descriptor = map->GetLayoutDescriptor();
+  Handle<LayoutDescriptor> layout_descriptor(map->GetLayoutDescriptor(),
+                                             isolate);
   DCHECK(layout_descriptor->IsConsistentWithMap(*map));
   return layout_descriptor;
 }