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

Unified Diff: runtime/vm/regexp.cc

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Moved trace_irregexp flag to flag_list.h Created 3 years, 5 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.h ('k') | runtime/vm/regexp_assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/regexp.cc
diff --git a/runtime/vm/regexp.cc b/runtime/vm/regexp.cc
index c9a42361db15e9079d3071e6a051bd34638d3e06..70af0315a4daf6a9de4a06b8c0e3334c1ddacc9e 100644
--- a/runtime/vm/regexp.cc
+++ b/runtime/vm/regexp.cc
@@ -18,8 +18,6 @@
namespace dart {
-DECLARE_FLAG(bool, trace_irregexp);
-
// Default to generating optimized regexp code.
static const bool kRegexpOptimization = true;
@@ -298,10 +296,12 @@ class RegExpCompiler : public ValueObject {
intptr_t AllocateRegister() { return next_register_++; }
+#if !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult Assemble(IRRegExpMacroAssembler* assembler,
RegExpNode* start,
intptr_t capture_count,
const String& pattern);
+#endif
RegExpEngine::CompilationResult Assemble(
BytecodeRegExpMacroAssembler* assembler,
@@ -387,6 +387,7 @@ RegExpCompiler::RegExpCompiler(intptr_t capture_count,
}
+#if !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult RegExpCompiler::Assemble(
IRRegExpMacroAssembler* macro_assembler,
RegExpNode* start,
@@ -416,6 +417,7 @@ RegExpEngine::CompilationResult RegExpCompiler::Assemble(
macro_assembler->num_blocks(), macro_assembler->num_stack_locals(),
next_register_);
}
+#endif
RegExpEngine::CompilationResult RegExpCompiler::Assemble(
@@ -4817,6 +4819,7 @@ void TextNode::FillInBMInfo(intptr_t initial_offset,
}
+#if !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult RegExpEngine::CompileIR(
RegExpCompileData* data,
const ParsedFunction* parsed_function,
@@ -4925,6 +4928,7 @@ RegExpEngine::CompilationResult RegExpEngine::CompileIR(
return result;
}
+#endif // !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult RegExpEngine::CompileBytecode(
« no previous file with comments | « runtime/vm/regexp.h ('k') | runtime/vm/regexp_assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698