Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index 752496339d0a36a8c5e3df303ce4d01dbbea964d..4be3815cb916f0fc6924a30de15586949a603ead 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -182,19 +182,6 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> { |
} |
}; |
- // The body of a with or catch. |
- class WithOrCatch : public NestedStatement { |
- public: |
- explicit WithOrCatch(FullCodeGenerator* codegen) |
- : NestedStatement(codegen) { |
- } |
- |
- NestedStatement* Exit(int* context_length) override { |
- ++(*context_length); |
- return previous_; |
- } |
- }; |
- |
// A platform-specific utility to overwrite the accumulator register |
// with a GC-safe value. |
void ClearAccumulator(); |