| Index: src/x64/lithium-codegen-x64.h
|
| diff --git a/src/x64/lithium-codegen-x64.h b/src/x64/lithium-codegen-x64.h
|
| index feacc2c82ea2e182ffe61d29f326c5dd5d5e9249..f5122bb2d0ec59e6369f5587d317e098463ac353 100644
|
| --- a/src/x64/lithium-codegen-x64.h
|
| +++ b/src/x64/lithium-codegen-x64.h
|
| @@ -52,13 +52,13 @@ class LCodeGen BASE_EMBEDDED {
|
| current_block_(-1),
|
| current_instruction_(-1),
|
| instructions_(chunk->instructions()),
|
| - deoptimizations_(4),
|
| - jump_table_(4),
|
| - deoptimization_literals_(8),
|
| + deoptimizations_(info->zone(), 4),
|
| + jump_table_(info->zone(), 4),
|
| + deoptimization_literals_(info->zone(), 8),
|
| inlined_function_count_(0),
|
| scope_(info->scope()),
|
| status_(UNUSED),
|
| - deferred_(8),
|
| + deferred_(info->zone(), 8),
|
| osr_pc_offset_(-1),
|
| resolver_(this),
|
| expected_safepoint_kind_(Safepoint::kSimple) {
|
| @@ -71,6 +71,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 isolate()->zone(); }
|
|
|
| // Support for converting LOperands to assembler types.
|
| Register ToRegister(LOperand* op) const;
|
|
|