Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index d19028d04f1d233bdbda46df868e43ac99416c65..d7119239c78355de4ac1c97fcbe255847c36d4fe 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -3117,10 +3117,6 @@ class RegExpEmpty FINAL : public RegExpTree { |
virtual bool IsEmpty() OVERRIDE; |
virtual int min_match() OVERRIDE { return 0; } |
virtual int max_match() OVERRIDE { return 0; } |
- static RegExpEmpty* GetInstance() { |
- static RegExpEmpty* instance = ::new RegExpEmpty(); |
- return instance; |
- } |
}; |