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

Unified Diff: src/objects.h

Issue 2205893002: Remove catch prediction from handler table API. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-remove-catch-prediction
Patch Set: Remove dead code. Created 4 years, 4 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 | « src/compiler/code-generator.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 24d41913dd8f33ecc8e6c498088cf9ee5bf36d18..2fabe1808bc9d5389fc2e3e3c016ca33447ee40d 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4482,7 +4482,7 @@ class HandlerTable : public FixedArray {
// Setters for handler table based on return addresses.
inline void SetReturnOffset(int index, int value);
- inline void SetReturnHandler(int index, int offset, CatchPrediction pred);
+ inline void SetReturnHandler(int index, int offset);
// Lookup handler in a table based on ranges.
int LookupRange(int pc_offset, int* data, CatchPrediction* prediction);
@@ -4490,9 +4490,6 @@ class HandlerTable : public FixedArray {
// Lookup handler in a table based on return addresses.
int LookupReturn(int pc_offset);
- // Returns the conservative catch predication.
- inline CatchPrediction GetRangePrediction(int index) const;
-
// Returns the number of entries in the table.
inline int NumberOfRangeEntries() const;
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698