diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-08-24 14:07:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-08-24 14:07:24 +0000 |
commit | 75eec5d14039d4cbc4ec9b96485b743573665627 (patch) | |
tree | db9e4158d5cbfb84d2f0c0f6157e5b0edad8587a /compiler/optimizing/codegen_test_utils.h | |
parent | d3678dc2531f95ced2d015b800ecd9018ce96c73 (diff) | |
parent | 61ba8d2421a98e9b16510be4f9af7ca7bc4c9055 (diff) |
Merge "Fix longstanding bug around implicit NPEs and GC, version 2."
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
-rw-r--r-- | compiler/optimizing/codegen_test_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/codegen_test_utils.h b/compiler/optimizing/codegen_test_utils.h index 91811262de..8c062f03b7 100644 --- a/compiler/optimizing/codegen_test_utils.h +++ b/compiler/optimizing/codegen_test_utils.h @@ -288,7 +288,7 @@ static void RunCodeNoCheck(CodeGenerator* codegen, { ScopedArenaAllocator local_allocator(graph->GetArenaStack()); SsaLivenessAnalysis liveness(graph, codegen, &local_allocator); - PrepareForRegisterAllocation(graph).Run(); + PrepareForRegisterAllocation(graph, codegen->GetCompilerOptions()).Run(); liveness.Analyze(); std::unique_ptr<RegisterAllocator> register_allocator = RegisterAllocator::Create(&local_allocator, codegen, liveness); |