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(¯o_assembler, |
node, |
input->capture_count); |