diff options
| author | 2014-05-06 16:20:11 -0700 | |
|---|---|---|
| committer | 2014-05-06 16:23:19 -0700 | |
| commit | 72d32629303f8f39362a4099481f48646aed042f (patch) | |
| tree | 0ff613168c3bf2e12799594c9211f9a1694119e2 /compiler/dex/quick/codegen_util.cc | |
| parent | 47ebd77a6d249403a34d242908749b7446da2a82 (diff) | |
Give Compiler a back reference to the driver.
The compiler driver is a single object delegating work to the compiler, rather
than passing it through to every Compiler call make it a member of Compiler so
that it maybe queried. This simplifies the Compiler API and makes the
relationship to CompilerDriver more explicit.
Remove reference arguments that contravene code style.
Change-Id: Iba47f2e3cbda679a7ec7588f26188d77643aa2c6
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
| -rw-r--r-- | compiler/dex/quick/codegen_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index de13a2ee69..fbf8a0cc5b 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1027,7 +1027,7 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() { UniquePtr<std::vector<uint8_t> > cfi_info(ReturnCallFrameInformation()); CompiledMethod* result = - new CompiledMethod(*cu_->compiler_driver, cu_->instruction_set, code_buffer_, frame_size_, + new CompiledMethod(cu_->compiler_driver, cu_->instruction_set, code_buffer_, frame_size_, core_spill_mask_, fp_spill_mask_, encoded_mapping_table_, vmap_encoder.GetData(), native_gc_map_, cfi_info.get()); return result; |