| Index: src/deoptimizer.h
|
| diff --git a/src/deoptimizer.h b/src/deoptimizer.h
|
| index b177873a7c22c7988010ab25d23c155ff608204f..fd65e83dd2683acfb4c2a6f325364189f5fff863 100644
|
| --- a/src/deoptimizer.h
|
| +++ b/src/deoptimizer.h
|
| @@ -322,11 +322,10 @@ class Deoptimizer : public Malloced {
|
| static const int kNotDeoptimizationEntry = -1;
|
|
|
| // Generators for the deoptimization entry code.
|
| - class EntryGenerator BASE_EMBEDDED {
|
| + class TableEntryGenerator BASE_EMBEDDED {
|
| public:
|
| - EntryGenerator(MacroAssembler* masm, BailoutType type)
|
| - : masm_(masm), type_(type) { }
|
| - virtual ~EntryGenerator() { }
|
| + TableEntryGenerator(MacroAssembler* masm, BailoutType type, int count)
|
| + : masm_(masm), type_(type), count_(count) {}
|
|
|
| void Generate();
|
|
|
| @@ -335,24 +334,13 @@ class Deoptimizer : public Malloced {
|
| BailoutType type() const { return type_; }
|
| Isolate* isolate() const { return masm_->isolate(); }
|
|
|
| - virtual void GeneratePrologue() { }
|
| -
|
| - private:
|
| - MacroAssembler* masm_;
|
| - Deoptimizer::BailoutType type_;
|
| - };
|
| -
|
| - class TableEntryGenerator : public EntryGenerator {
|
| - public:
|
| - TableEntryGenerator(MacroAssembler* masm, BailoutType type, int count)
|
| - : EntryGenerator(masm, type), count_(count) { }
|
| -
|
| - protected:
|
| - virtual void GeneratePrologue();
|
| + void GeneratePrologue();
|
|
|
| private:
|
| int count() const { return count_; }
|
|
|
| + MacroAssembler* masm_;
|
| + Deoptimizer::BailoutType type_;
|
| int count_;
|
| };
|
|
|
|
|