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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 2947143002: Revert "VM(RegExp): Allow OSR optimization of RegExp :matcher functions." (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
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/regexp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index c1520e6b20843b40615e2644813f7adc2a40d02f..cfb7622d3a7f58b48206093d101e2b65f94acd93 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -2066,17 +2066,6 @@ Definition* RedefinitionInstr::Canonicalize(FlowGraph* flow_graph) {
}
-Instruction* CheckStackOverflowInstr::Canonicalize(FlowGraph* flow_graph) {
- switch (kind_) {
- case kOsrAndPreemption:
- return this;
- case kOsrOnly:
- // Don't need OSR entries in the optimized code.
- return NULL;
- }
-}
-
-
bool LoadFieldInstr::IsImmutableLengthLoad() const {
switch (recognized_kind()) {
case MethodRecognizer::kObjectArrayLength:
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/regexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698