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

Unified Diff: src/jsregexp.cc

Issue 10995: * Remove an unused layer of abstraction by not having both a macro assembler ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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 | « src/interpreter-irregexp.cc ('k') | src/regexp-macro-assembler-irregexp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.cc
===================================================================
--- src/jsregexp.cc (revision 862)
+++ src/jsregexp.cc (working copy)
@@ -40,7 +40,6 @@
#include "compilation-cache.h"
#include "string-stream.h"
#include "parser.h"
-#include "assembler-irregexp.h"
#include "regexp-macro-assembler.h"
#include "regexp-macro-assembler-tracer.h"
#include "regexp-macro-assembler-irregexp.h"
@@ -2731,8 +2730,7 @@
#endif
}
byte codes[1024];
Christian Plesner Hansen 2008/11/28 10:13:25 You can use EmbeddedVector<byte, 1024> instead.
- IrregexpAssembler assembler(Vector<byte>(codes, 1024));
- RegExpMacroAssemblerIrregexp macro_assembler(&assembler);
+ RegExpMacroAssemblerIrregexp macro_assembler(Vector<byte>(codes, 1024));
return compiler.Assemble(&macro_assembler,
node,
input->capture_count);
« no previous file with comments | « src/interpreter-irregexp.cc ('k') | src/regexp-macro-assembler-irregexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698