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

Unified Diff: runtime/vm/regexp_assembler.cc

Issue 1739173002: Remove left-over compiler-code from precompiled runtime. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « runtime/vm/regexp_assembler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp_assembler.cc
diff --git a/runtime/vm/regexp_assembler.cc b/runtime/vm/regexp_assembler.cc
index 9e01f35101e55294e5b58cc41110d3beec891005..c916c702d8898a6ae0d82af509046cd269f60e3b 100644
--- a/runtime/vm/regexp_assembler.cc
+++ b/runtime/vm/regexp_assembler.cc
@@ -4,10 +4,23 @@
#include "vm/regexp_assembler.h"
+#include "vm/flags.h"
#include "vm/regexp.h"
namespace dart {
+BlockLabel::BlockLabel()
+ : block_(NULL),
+ is_bound_(false),
+ is_linked_(false),
+ pos_(-1) {
+ if (!FLAG_interpret_irregexp) {
+ // Only needed by the compiled IR backend.
+ block_ = new JoinEntryInstr(-1, -1);
+ }
+}
+
+
RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone)
: slow_safe_compiler_(false),
global_mode_(NOT_GLOBAL),
« no previous file with comments | « runtime/vm/regexp_assembler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698