From 60328910cad396589474f8513391ba733d19390b Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Mon, 4 Apr 2016 17:47:42 +0000 Subject: Revert "Refactor HGraphBuilder and SsaBuilder to remove HLocals" Bug: 27995065 This reverts commit e3ff7b293be2a6791fe9d135d660c0cffe4bd73f. Change-Id: I5363c7ce18f47fd422c15eed5423a345a57249d8 --- compiler/optimizing/code_generator.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 1a060b1f58..cad55296bc 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -211,6 +211,7 @@ class CodeGenerator { size_t maximum_number_of_live_fpu_registers, size_t number_of_out_slots, const ArenaVector& block_order); + int32_t GetStackSlot(HLocal* local) const; uint32_t GetFrameSize() const { return frame_size_; } void SetFrameSize(uint32_t size) { frame_size_ = size; } @@ -524,6 +525,8 @@ class CodeGenerator { slow_paths_.reserve(8); } + virtual Location GetStackLocation(HLoadLocal* load) const = 0; + virtual HGraphVisitor* GetLocationBuilder() = 0; virtual HGraphVisitor* GetInstructionVisitor() = 0; -- cgit v1.2.3-59-g8ed1b