OSDN Git Service

Fix reference_type_propagation_test.
authorVladimir Marko <vmarko@google.com>
Wed, 20 Apr 2016 10:22:16 +0000 (11:22 +0100)
committerVladimir Marko <vmarko@google.com>
Wed, 20 Apr 2016 10:22:16 +0000 (11:22 +0100)
Bug: 28210356
Change-Id: I472bbdc48d3959a374d4bf21a921ca57007a96f0

compiler/optimizing/reference_type_propagation_test.cc

index 4653e2f..7649b50 100644 (file)
@@ -37,7 +37,11 @@ class ReferenceTypePropagationTest : public CommonCompilerTest {
 
   void SetupPropagation(StackHandleScopeCollection* handles) {
     graph_->InitializeInexactObjectRTI(handles);
-    propagation_ = new (&allocator_) ReferenceTypePropagation(graph_, handles, true, "test_prop");
+    propagation_ = new (&allocator_) ReferenceTypePropagation(graph_,
+                                                              Handle<mirror::DexCache>(),
+                                                              handles,
+                                                              true,
+                                                              "test_prop");
   }
 
   // Relay method to merge type in reference type propagation.