Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index 5ba4bc4352bac6333180736d7b3df629744d924c..ecd6caa396aa69ad4403dda91df910b8a0b089dc 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -56,7 +56,7 @@ class LCodeGen BASE_EMBEDDED { |
deoptimizations_(4), |
deoptimization_literals_(8), |
inlined_function_count_(0), |
- scope_(chunk->graph()->info()->scope()), |
+ scope_(info->scope()), |
status_(UNUSED), |
deferred_(8), |
osr_pc_offset_(-1), |
@@ -67,6 +67,7 @@ class LCodeGen BASE_EMBEDDED { |
// Simple accessors. |
MacroAssembler* masm() const { return masm_; } |
+ CompilationInfo* info() const { return info_; } |
// Support for converting LOperands to assembler types. |
Operand ToOperand(LOperand* op) const; |
@@ -124,7 +125,7 @@ class LCodeGen BASE_EMBEDDED { |
bool is_aborted() const { return status_ == ABORTED; } |
int strict_mode_flag() const { |
- return info_->is_strict() ? kStrictMode : kNonStrictMode; |
+ return info()->is_strict() ? kStrictMode : kNonStrictMode; |
} |
LChunk* chunk() const { return chunk_; } |