| Index: src/arm/lithium-codegen-arm.h
|
| diff --git a/src/arm/lithium-codegen-arm.h b/src/arm/lithium-codegen-arm.h
|
| index c6a3af7e02bd123e9e8f4103b38f308e6f1b8e42..17fd09fa9eed1b4adbdfe3a085677cb97470d34d 100644
|
| --- a/src/arm/lithium-codegen-arm.h
|
| +++ b/src/arm/lithium-codegen-arm.h
|
| @@ -43,7 +43,8 @@ class SafepointGenerator;
|
|
|
| class LCodeGen BASE_EMBEDDED {
|
| public:
|
| - LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info)
|
| + LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info,
|
| + Zone* zone)
|
| : chunk_(chunk),
|
| masm_(assembler),
|
| info_(info),
|
| @@ -56,11 +57,14 @@ class LCodeGen BASE_EMBEDDED {
|
| inlined_function_count_(0),
|
| scope_(info->scope()),
|
| status_(UNUSED),
|
| + translations_(zone),
|
| deferred_(8),
|
| osr_pc_offset_(-1),
|
| last_lazy_deopt_pc_(0),
|
| + safepoints_(zone),
|
| resolver_(this),
|
| - expected_safepoint_kind_(Safepoint::kSimple) {
|
| + expected_safepoint_kind_(Safepoint::kSimple),
|
| + zone_(zone) {
|
| PopulateDeoptimizationLiteralsWithInlinedFunctions();
|
| }
|
|
|
| @@ -71,6 +75,7 @@ class LCodeGen BASE_EMBEDDED {
|
| Isolate* isolate() const { return info_->isolate(); }
|
| Factory* factory() const { return isolate()->factory(); }
|
| Heap* heap() const { return isolate()->heap(); }
|
| + Zone* zone() const { return zone_; }
|
|
|
| // Support for converting LOperands to assembler types.
|
| // LOperand must be a register.
|
| @@ -371,6 +376,8 @@ class LCodeGen BASE_EMBEDDED {
|
|
|
| Safepoint::Kind expected_safepoint_kind_;
|
|
|
| + Zone* zone_;
|
| +
|
| class PushSafepointRegistersScope BASE_EMBEDDED {
|
| public:
|
| PushSafepointRegistersScope(LCodeGen* codegen,
|
|
|