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

Unified Diff: src/objects.cc

Issue 2536673002: Revert of [deoptimizer] Remove dead Code::LookupRangeInHandlerTable. (Closed)
Patch Set: Created 4 years, 1 month 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 | « src/objects.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 6d8a1be02a83e228eca6134f24d41a99e25ab54d..f7812a4332bc4c6f0748bb25f14926e7973fe411 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -14402,6 +14402,13 @@
return 0;
}
+int Code::LookupRangeInHandlerTable(int code_offset, int* data,
+ HandlerTable::CatchPrediction* prediction) {
+ DCHECK(!is_optimized_code());
+ HandlerTable* table = HandlerTable::cast(handler_table());
+ return table->LookupRange(code_offset, data, prediction);
+}
+
void Code::MakeCodeAgeSequenceYoung(byte* sequence, Isolate* isolate) {
PatchPlatformCodeAge(isolate, sequence, kNoAgeCodeAge, NO_MARKING_PARITY);
}
« no previous file with comments | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698