Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index a8e27ec9292dc2a6e3eecabb75e1d0c81193fd66..ec2fd8ba8c238104d387ccc5e8ea6d5a088f6855 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -409,6 +409,11 @@ class CodeAssembler { |
// Branching helpers. |
void BranchIf(Node* condition, Label* if_true, Label* if_false); |
+ void BranchIfSuccess(Node* node, Label* if_success, Label* if_exception, |
+ Variable* exception_var = nullptr); |
+ void GotoIfException(Node* node, Label* if_exception, |
+ Variable* exception_var = nullptr); |
+ |
#define BRANCH_HELPER(name) \ |
void BranchIf##name(Node* a, Node* b, Label* if_true, Label* if_false) { \ |
BranchIf(name(a, b), if_true, if_false); \ |