Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 7c53d7f42c134bfd763a40ce1cb8a400b3033392..d182b399f7e6c00f47f47258a888334833a478f4 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -1995,7 +1995,10 @@ class Call final : public Expression { |
bit_field_ = IsUninitializedField::update(bit_field_, b); |
} |
- bool is_tail() const { return IsTailField::decode(bit_field_); } |
+ TailCallMode tail_call_mode() const { |
+ return IsTailField::decode(bit_field_) ? TailCallMode::kAllow |
+ : TailCallMode::kDisallow; |
+ } |
void MarkTail() override { |
bit_field_ = IsTailField::update(bit_field_, true); |
} |