| 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(
|
|
|