Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index 085ad0d640c8eab9274ce96803778823d9d7f18d..84635a1cd0743bba59c90ae9c50dd43809838117 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -201,23 +201,6 @@ class FullCodeGenerator: public AstVisitor { |
} |
}; |
- // A class literal expression |
- class NestedClassLiteral : public NestedStatement { |
- public: |
- NestedClassLiteral(FullCodeGenerator* codegen, ClassLiteral* lit) |
- : NestedStatement(codegen), |
- needs_context_(lit->scope() != nullptr && |
- lit->scope()->NeedsContext()) {} |
- |
- NestedStatement* Exit(int* context_length) override { |
- if (needs_context_) ++(*context_length); |
- return previous_; |
- } |
- |
- private: |
- const bool needs_context_; |
- }; |
- |
class DeferredCommands { |
public: |
enum Command { kReturn, kThrow, kBreak, kContinue }; |
@@ -583,11 +566,6 @@ class FullCodeGenerator: public AstVisitor { |
// The receiver and the key is left on the stack by the IC. |
void EmitKeyedPropertyLoad(Property* expr); |
- // Adds the properties to the class (function) object and to its prototype. |
- // Expects the class (function) in the accumulator. The class (function) is |
- // in the accumulator after installing all the properties. |
- void EmitClassDefineProperties(ClassLiteral* lit); |
- |
// Pushes the property key as a Name on the stack. |
void EmitPropertyKey(ObjectLiteralProperty* property, BailoutId bailout_id); |