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

Unified Diff: runtime/vm/regexp.cc

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Created 3 years, 6 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
Index: runtime/vm/regexp.cc
diff --git a/runtime/vm/regexp.cc b/runtime/vm/regexp.cc
index c9a42361db15e9079d3071e6a051bd34638d3e06..a687b0a5a14ac44f6b762d419b32c3a06fe54788 100644
--- a/runtime/vm/regexp.cc
+++ b/runtime/vm/regexp.cc
@@ -298,10 +298,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 +389,7 @@ RegExpCompiler::RegExpCompiler(intptr_t capture_count,
}
+#if !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult RegExpCompiler::Assemble(
IRRegExpMacroAssembler* macro_assembler,
RegExpNode* start,
@@ -416,6 +419,7 @@ RegExpEngine::CompilationResult RegExpCompiler::Assemble(
macro_assembler->num_blocks(), macro_assembler->num_stack_locals(),
next_register_);
}
+#endif
RegExpEngine::CompilationResult RegExpCompiler::Assemble(
@@ -4817,6 +4821,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 +4930,7 @@ RegExpEngine::CompilationResult RegExpEngine::CompileIR(
return result;
}
+#endif // !defined(DART_PRECOMPILED_RUNTIME)
RegExpEngine::CompilationResult RegExpEngine::CompileBytecode(
« runtime/vm/regexp.h ('K') | « 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