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

Unified Diff: src/full-codegen/full-codegen.h

Issue 2161263003: [debug] use catch prediction flag for promise rejections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/full-codegen/full-codegen.h
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h
index 7a735d7939d64bccdb7b849da3dcb405fd00f884..876ce6c0b977bc74e60aa79ea7533d6a2d781919 100644
--- a/src/full-codegen/full-codegen.h
+++ b/src/full-codegen/full-codegen.h
@@ -686,7 +686,8 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> {
void RecordPosition(int pos);
// Non-local control flow support.
- void EnterTryBlock(int handler_index, Label* handler, bool catch_predicted);
+ void EnterTryBlock(int handler_index, Label* handler,
+ HandlerTable::CatchPrediction catch_prediction);
void ExitTryBlock(int handler_index);
void EnterFinallyBlock();
void ExitFinallyBlock();
@@ -773,7 +774,7 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> {
unsigned range_end;
unsigned handler_offset;
int stack_depth;
- bool catch_predicted;
+ HandlerTable::CatchPrediction catch_prediction;
};
class ExpressionContext BASE_EMBEDDED {

Powered by Google App Engine
This is Rietveld 408576698