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

Unified Diff: src/deoptimizer.h

Issue 1416543006: [turbofan] Unwind and jump to the catch handler in the deoptimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove the hack signpost Created 4 years, 10 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: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 10685b61931bdc8f79a3537790c49683261ab756..1004c97c39af072f64d1de5c7d831f13b953cd58 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -592,8 +592,8 @@ class Deoptimizer : public Malloced {
void DeleteFrameDescriptions();
void DoComputeOutputFrames();
- void DoComputeJSFrame(int frame_index);
- void DoComputeInterpretedFrame(int frame_index);
+ void DoComputeJSFrame(int frame_index, bool goto_catch_handler);
+ void DoComputeInterpretedFrame(int frame_index, bool goto_catch_handler);
void DoComputeArgumentsAdaptorFrame(int frame_index);
void DoComputeConstructStubFrame(int frame_index);
void DoComputeAccessorStubFrame(int frame_index, bool is_setter_stub_frame);
@@ -666,6 +666,9 @@ class Deoptimizer : public Malloced {
Address from_;
int fp_to_sp_delta_;
int has_alignment_padding_;
+ bool deoptimizing_throw_;
+ int catch_handler_data_;
+ int catch_handler_pc_offset_;
// Input frame description.
FrameDescription* input_;

Powered by Google App Engine
This is Rietveld 408576698