From 72d32629303f8f39362a4099481f48646aed042f Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Tue, 6 May 2014 16:20:11 -0700 Subject: 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 --- compiler/dex/quick/codegen_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/quick/codegen_util.cc') 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 > 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; -- cgit v1.2.3-59-g8ed1b