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

Unified Diff: src/interpreter/bytecode-generator.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/bytecode-generator.cc
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
index ab8868977e54bc8edf37fe78cb38656c2f46924b..546396f278f0c872a00a3af66e49ede90082286c 100644
--- a/src/interpreter/bytecode-generator.cc
+++ b/src/interpreter/bytecode-generator.cc
@@ -1184,7 +1184,7 @@ void BytecodeGenerator::VisitForOfStatement(ForOfStatement* stmt) {
}
void BytecodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) {
- TryCatchBuilder try_control_builder(builder(), stmt->catch_predicted());
+ TryCatchBuilder try_control_builder(builder(), stmt->catch_prediction());
Register no_reg;
// Preserve the context in a dedicated register, so that it can be restored
@@ -1220,7 +1220,7 @@ void BytecodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) {
}
void BytecodeGenerator::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
- TryFinallyBuilder try_control_builder(builder(), stmt->catch_predicted());
+ TryFinallyBuilder try_control_builder(builder(), stmt->catch_prediction());
Register no_reg;
// We keep a record of all paths that enter the finally-block to be able to

Powered by Google App Engine
This is Rietveld 408576698