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

Unified Diff: runtime/vm/intermediate_language_ia32.cc

Issue 2951053003: VM(RegExp): Allow OSR optimization of RegExp :matcher functions. (Closed)
Patch Set: Fix bugs with stack growing and block pruning 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/intermediate_language_ia32.cc
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
index e71680d574138d6d5f40614f192b936184fdf48d..710ed3d56d8da33321246960ce20b7d4e77d647d 100644
--- a/runtime/vm/intermediate_language_ia32.cc
+++ b/runtime/vm/intermediate_language_ia32.cc
@@ -6787,30 +6787,6 @@ void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
}
-LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(Zone* zone,
- bool opt) const {
- const intptr_t kNumInputs = 1;
- const intptr_t kNumTemps = 0;
- LocationSummary* locs = new (zone)
- LocationSummary(zone, kNumInputs, kNumTemps, LocationSummary::kCall);
- locs->set_in(0, Location::RegisterLocation(EAX));
- locs->set_out(0, Location::RegisterLocation(EAX));
- return locs;
-}
-
-
-void GrowRegExpStackInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
- const Register typed_data = locs()->in(0).reg();
- const Register result = locs()->out(0).reg();
- __ PushObject(Object::null_object());
- __ pushl(typed_data);
- compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
- kGrowRegExpStackRuntimeEntry, 1, locs());
- __ Drop(1);
- __ popl(result);
-}
-
-
} // namespace dart
#undef __

Powered by Google App Engine
This is Rietveld 408576698