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

Unified Diff: src/interpreter/control-flow-builders.cc

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/interpreter/control-flow-builders.cc
diff --git a/src/interpreter/control-flow-builders.cc b/src/interpreter/control-flow-builders.cc
index 754fb465555e294af30e68643e310f14623ada03..1a1d3b45a35d805993bad81cd32478ead9ddf13e 100644
--- a/src/interpreter/control-flow-builders.cc
+++ b/src/interpreter/control-flow-builders.cc
@@ -142,7 +142,7 @@ void TryCatchBuilder::EndTry() {
builder()->MarkTryEnd(handler_id_);
builder()->Jump(&exit_);
builder()->Bind(&handler_);
- builder()->MarkHandler(handler_id_, catch_predicted_);
+ builder()->MarkHandler(handler_id_, catch_prediction_);
}
@@ -167,7 +167,7 @@ void TryFinallyBuilder::EndTry() {
void TryFinallyBuilder::BeginHandler() {
builder()->Bind(&handler_);
- builder()->MarkHandler(handler_id_, catch_predicted_);
+ builder()->MarkHandler(handler_id_, catch_prediction_);
}

Powered by Google App Engine
This is Rietveld 408576698