diff options
| author | 2015-05-11 13:18:05 +0000 | |
|---|---|---|
| committer | 2015-05-11 13:18:06 +0000 | |
| commit | 0e4c27e555d854f00185603138a6434358d07757 (patch) | |
| tree | 39d69de5d812826c4065d0acd38a58cd983f21f0 /compiler/optimizing/find_loops_test.cc | |
| parent | cdeb0b5fede4c06488f43a212591e661d946bc78 (diff) | |
| parent | 0a23d74dc2751440822960eab218be4cb8843647 (diff) | |
Merge "Add a parent environment to HEnvironment."
Diffstat (limited to 'compiler/optimizing/find_loops_test.cc')
| -rw-r--r-- | compiler/optimizing/find_loops_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/find_loops_test.cc b/compiler/optimizing/find_loops_test.cc index 8f69f4d1d5..29aa97a83a 100644 --- a/compiler/optimizing/find_loops_test.cc +++ b/compiler/optimizing/find_loops_test.cc @@ -28,7 +28,7 @@ namespace art { static HGraph* TestCode(const uint16_t* data, ArenaAllocator* allocator) { - HGraph* graph = new (allocator) HGraph(allocator); + HGraph* graph = CreateGraph(allocator); HGraphBuilder builder(graph); const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); builder.BuildGraph(*item); |