| Index: src/lithium-codegen.h
|
| diff --git a/src/lithium-codegen.h b/src/lithium-codegen.h
|
| index 80afbaf2359d633e57d8ff518d77a71589e47e7f..fddc1b259935968d53796f71e0c766e7898dee0e 100644
|
| --- a/src/lithium-codegen.h
|
| +++ b/src/lithium-codegen.h
|
| @@ -14,6 +14,7 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +class LEnvironment;
|
| class LInstruction;
|
| class LPlatformChunk;
|
|
|
| @@ -50,6 +51,10 @@ class LCodeGenBase BASE_EMBEDDED {
|
|
|
| void RegisterWeakObjectsInOptimizedCode(Handle<Code> code);
|
|
|
| + void WriteTranslationFrame(LEnvironment* environment,
|
| + Translation* translation);
|
| + int DefineDeoptimizationLiteral(Handle<Object> literal);
|
| +
|
| // Check that an environment assigned via AssignEnvironment is actually being
|
| // used. Redundant assignments keep things alive longer than necessary, and
|
| // consequently lead to worse code, so it's important to minimize this.
|
| @@ -71,6 +76,7 @@ class LCodeGenBase BASE_EMBEDDED {
|
| int current_block_;
|
| int current_instruction_;
|
| const ZoneList<LInstruction*>* instructions_;
|
| + ZoneList<Handle<Object> > deoptimization_literals_;
|
| int last_lazy_deopt_pc_;
|
|
|
| bool is_unused() const { return status_ == UNUSED; }
|
|
|