Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: src/jsregexp.h

Issue 141553007: Make ZoneObject::operator delete not public. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: re Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/zone.h » ('j') | src/zone.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.h
diff --git a/src/jsregexp.h b/src/jsregexp.h
index dfd415d5af8ad041a6959016d046b3a9a6a87610..480429b5efbba5dc2f6cfd88cfd739bd7e93adf9 100644
--- a/src/jsregexp.h
+++ b/src/jsregexp.h
@@ -591,7 +591,6 @@ class RegExpNode: public ZoneObject {
: replacement_(NULL), trace_count_(0), zone_(zone) {
bm_info_[0] = bm_info_[1] = NULL;
}
- virtual ~RegExpNode();
virtual void Accept(NodeVisitor* visitor) = 0;
// Generates a goto to this node or actually generates the code at this point.
virtual void Emit(RegExpCompiler* compiler, Trace* trace) = 0;
@@ -685,6 +684,7 @@ class RegExpNode: public ZoneObject {
enum LimitResult { DONE, CONTINUE };
RegExpNode* replacement_;
+ virtual ~RegExpNode();
LimitResult LimitVersions(RegExpCompiler* compiler, Trace* trace);
void set_bm_info(bool not_at_start, BoyerMooreLookahead* bm) {
« no previous file with comments | « no previous file | src/zone.h » ('j') | src/zone.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698