Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index c0a4f039a25d4b5e34924d59808fd7a33b2e1c88..250651e3bb61c3cee1b4fec56e64c5add6da63d7 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -17,6 +17,7 @@ |
#include "vm/object.h" |
#include "vm/object_store.h" |
#include "vm/os.h" |
+#include "vm/regexp_assembler.h" |
#include "vm/resolver.h" |
#include "vm/scopes.h" |
#include "vm/stub_code.h" |
@@ -451,6 +452,7 @@ GraphEntryInstr::GraphEntryInstr(const ParsedFunction* parsed_function, |
parsed_function_(parsed_function), |
normal_entry_(normal_entry), |
catch_entries_(), |
+ indirect_entries_(), |
initial_definitions_(), |
osr_id_(osr_id), |
entry_count_(0), |
@@ -2528,6 +2530,17 @@ void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
} |
+LocationSummary* IndirectEntryInstr::MakeLocationSummary( |
+ Isolate* isolate, bool optimizing) const { |
+ return JoinEntryInstr::MakeLocationSummary(isolate, optimizing); |
+} |
+ |
+ |
+void IndirectEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+ JoinEntryInstr::EmitNativeCode(compiler); |
+} |
+ |
+ |
LocationSummary* PhiInstr::MakeLocationSummary(Isolate* isolate, |
bool optimizing) const { |
UNREACHABLE(); |
@@ -3318,6 +3331,23 @@ const char* MathUnaryInstr::KindToCString(MathUnaryKind kind) { |
return ""; |
} |
+typedef RawBool* (*CaseInsensitiveCompareUC16Function) ( |
+ RawString* string_raw, |
+ RawSmi* lhs_index_raw, |
+ RawSmi* rhs_index_raw, |
+ RawSmi* length_raw); |
+ |
+ |
+extern const RuntimeEntry kCaseInsensitiveCompareUC16RuntimeEntry( |
+ "CaseInsensitiveCompareUC16", reinterpret_cast<RuntimeFunction>( |
+ static_cast<CaseInsensitiveCompareUC16Function>( |
+ &IRRegExpMacroAssembler::CaseInsensitiveCompareUC16)), 4, true, false); |
+ |
+ |
+const RuntimeEntry& CaseInsensitiveCompareUC16Instr::TargetFunction() const { |
+ return kCaseInsensitiveCompareUC16RuntimeEntry; |
+} |
+ |
MergedMathInstr::MergedMathInstr(ZoneGrowableArray<Value*>* inputs, |
intptr_t deopt_id, |